Skip to content

Remove -Dsun.java2d.uiScale.enabled=false on Windows #231

@processing-bot

Description

@processing-bot

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 7 beta 1 with 383b4b8

This 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions