-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Scaling issue in simulation UI R2022b #5024
Comments
That's is strange... Can you try to to set Let me know your findings. |
Maybe this one broke it? Can you try to revert it? |
Sadly this doesn't seem to change it. |
Or removing these lines? |
Sadly nothing as well. |
Unfortunately, I am running out of ideas... That's strange the bug doesn't show up with R2022a... |
Thank you very much for your help. Maybe there is a general change in how qt6 handles scaling and that makes problems with my display config. I'll check it and if I find a solution, I'll post an update. |
We are progressing... Did you check all the different environment variables documented here: https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference? |
Alternatively, you may want to try to change the font sizes in the styling sheet: https://github.com/cyberbotics/webots/blob/master/resources/stylesheet.linux.qss |
Explicitely disabling the QT_ENABLE_HIGHDPI_SCALING with QT_ENABLE_HIGHDPI_SCALING=0 makes the Ui small, but working. I somehow forgot to check disabling it yesterday and tried just not to enable it. |
Could we integrate this in https://github.com/cyberbotics/webots/blob/master/src/webots/launcher/webots-linux.sh? |
That sounds like a good option. export QT_ENABLE_HIGHDPI_SCALING=0 to fix my scaling. The Environment variable $XDG_CURRENT_DESKTOP returns i3 for me. |
That would be great. |
Describe the Bug
I hope this isn't a duplication, but I didn't find a fix or something related. It might also be an issue with 4k displays.
Since the update to R2022b, the simulation window fills only a quarter of the given screen space.
The mouse movements and clicks are measured at the whole screen though, making it additionally hard to click on objects.
Steps to Reproduce
Expected behavior
Normal screen scaling as seen in 2nd Screenshot
Screenshots
R2022b
R2022a
System
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: