DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
18.49k stars 703 forks source link

Desktop app window slowly moves down after restarts/rebuilds (GNOME) #2318

Open Andrew15-5 opened 2 weeks ago

Andrew15-5 commented 2 weeks ago

Problem

Just created a default Dioxus Dekstop project on GNOME and rebuilds/restarts cause the window to slowly move down until it hits the bottom (it won't disappear).

Steps To Reproduce

until the bottom of the window hits the bottom of the screen.

Expected behavior

The position of the window must stay the same as the user have specified.

Environment:

Questionnaire

jkelleyrtp commented 2 weeks ago

Do you have a multimonitor setup? there's issues with DPI scaling in tao where the offset is calculated using the DPI of one monitor even though the two monitors have different DPIs

Andrew15-5 commented 2 weeks ago

I have a multi-monitor setup, all screens are identical — FHD.

Hmm, DPI... Why would that matter? Shouldn't it just use the display pixel width/height and that's it? Yeah, I guess I do have different DPI.