openscopeproject / TrguiNG

Remote GUI for Transmission torrent daemon
GNU Affero General Public License v3.0
323 stars 38 forks source link

Window restore incorrectly when closing from a secondary display. #223

Open starmoonxp opened 3 weeks ago

starmoonxp commented 3 weeks ago

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.)

qu1ck commented 3 weeks ago

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.

starmoonxp commented 3 weeks ago

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.