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

egui UI is blurry, mouse input is offset #1014

Closed
hannobraun opened this issue Aug 30, 2022 · 5 comments
Closed

egui UI is blurry, mouse input is offset #1014

hannobraun opened this issue Aug 30, 2022 · 5 comments
Labels
topic: display Displaying Fornjot models type: bug Something isn't working

Comments

@hannobraun
Copy link
Owner

As the title says, the egui UI on the left is very blurry. The mouse cursor isn't registered where it actually is. See this screenshot:
Screenshot from 2022-08-30 10-25-18

The blurriness is a bit subtle on this screenshot (although it's very clear in the original, especially if you've seen the difference). But you can clearly see that the mouse cursor is hovering over "Render original UI", but "Show egui settings UI" is activated.

I'm observing the problem on my Linux/Gnome setup (AMD GPU, although not sure that makes a difference). I'm pretty sure this came in with the recent egui/wgpu/winit upgrade (#975). The problem seems to be related to the scale factor of my HiDPI display. If I change the scale factor to 100% in the gnome settings, it works as expected.

I suspect that something has changed in regards to HiDPI handling in either winit or egui. Maybe the solution will become obvious when going over the changelogs.

@hannobraun hannobraun added type: bug Something isn't working topic: display Displaying Fornjot models topic: ui labels Aug 30, 2022
@hannobraun hannobraun added this to the Basic Usability milestone Aug 30, 2022
@devanlooches
Copy link
Contributor

devanlooches commented Sep 29, 2022

Just as extra information, I am getting the same result on my Mac.

Edit: Also, the status update element is no longer draggable.

@hannobraun
Copy link
Owner Author

Thanks for the info, @devanlooches! I think this increases the likelihood of this being a HiDPI display issue. Good to know it's not some platform-specific problem. That would be annoying.

@hannobraun
Copy link
Owner Author

I've looked into this, but no luck. I couldn't find anything that looked suspicious or was obviously missing.

@hannobraun
Copy link
Owner Author

I just discovered that this happens to me with X.org, but not with Wayland.

@hannobraun
Copy link
Owner Author

Fixed in #1266.

Thanks again, @erenoku!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: display Displaying Fornjot models type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants