DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
21.43k stars 826 forks source link

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

Open Andrew15-5 opened 6 months ago

Andrew15-5 commented 6 months 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 6 months 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 6 months 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.