Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 3 tasks
Andrew15-5 opened this issue Apr 16, 2024 · 2 comments
Open
2 of 3 tasks

Comments

@Andrew15-5
Copy link
Contributor

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.

  • dx init desktop
  • cd
  • dx serve
  • make a restart/rebuild
  • window will appear lower and lower (mostly for rebuilds)

Expected behavior

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

Environment:

  • Dioxus version: 0.5.4
  • Rust version: 1.79.0-nightly
  • OS info: Pop!_OS 22.04 (GNOME 42.5)
  • App platform: desktop

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@jkelleyrtp
Copy link
Member

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
Copy link
Contributor Author

Andrew15-5 commented Apr 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants