-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remove -Dsun.java2d.uiScale.enabled=false on Windows #231
Comments
Created by: soprano There is currently no alpha 7 and this is not fixed in 4.0b1. |
Created by: benfry Edited my text to indicate strike out alpha 7 and replace with beta 1. The issue will remain open until it's fixed or otherwise resolved. |
Created by: tristanbay Is there a way to set the flag back to |
Created by: benfry Offhand, you might try grabbing the processing.exe from the alpha where it worked; that may be the only change in its config. |
Created by: tristanbay
So you're saying I should downgrade to 4.0 alpha 4, where the UI scaling issues don't occur? |
Created by: benfry No, just replace the processing.exe file in the beta 2 folder with the one from the alpha 4 folder. (And let me know if that works.) |
Created by: tristanbay
I replaced both I also wanted to mention that I modified the Thank you for your help! |
Created by: benfry Adding a “Disable HiDPI Scaling” option in Preferences for 4.0 beta 3. It's a temporary solution, but resolves the immediate issue for now. Further development for a better long-term solution will be covered here: #342 |
Created by: github-actions[bot] This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Created by: benfry
As I understand it, setting
-Dsun.java2d.uiScale.enabled
is a sort of hack/workaround to avoid making code HiDPI compliant. I tried shutting it off in alpha 5 and 6, but we ran into issues like #226, especially with fractional sizes. (Another report, not submitted here, was that the UI looked dreadful/blocky at 125% after this flag was removed.)So the flag has been re-enabled for
alpha 7beta 1 with 383b4b8This isn't a new problem, and requires some work to fix properly, even for a project like IntelliJ (who, unlike us, has a paid team of engineers working on these things) https://intellij-support.jetbrains.com/hc/en-us/articles/115001260010-Troubleshooting-IDE-scaling-DPI-issues-on-Windows
I haven't enough time to really dig into this on Windows, so as with so many things, PRs and fixes welcome.
The text was updated successfully, but these errors were encountered: