TrguiNG icon indicating copy to clipboard operation
TrguiNG copied to clipboard

Window restore incorrectly when closing from a secondary display.

Open starmoonxp opened this issue 1 year ago • 4 comments

I have two monitors with different scale. One 27"4k with scale of 150% (external as primary) and one 14" 4k+ with scale of 250% (internal as secondary).

When I run TrguiNG on primary display. everything look right. But when I move the TrguiNG window to secondary display and close it (exit). The windows size and possition won't resotre correctly when I reopen the application again.

(It may be the scale factor that lead to this issue.)

starmoonxp avatar Aug 18 '24 16:08 starmoonxp

Likely caused by underlying framework not working with different dpi correctly. See https://github.com/tauri-apps/tauri/issues/6843 Not much I can do about this.

qu1ck avatar Aug 18 '24 17:08 qu1ck

Likely caused by underlying framework not working with different dpi correctly. See tauri-apps/tauri#6843 Not much I can do about this.

Ok. thank you for your prompt reply. Waiting for the upstream fix.

starmoonxp avatar Aug 18 '24 17:08 starmoonxp

any update on this?

starmoonxp avatar Jan 29 '25 18:01 starmoonxp

There are no updates on the tauri issue I linked but I recently updated TrguiNG to latest tauri release which had a lot of changes, there is a (slim) chance of it being fixed already. You can try to compile from master.

qu1ck avatar Jan 30 '25 00:01 qu1ck