Fix automatic HiDPI scaling on Linux #7780
Labels
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
os:linux
UI
User Interface
Apache NetBeans version
Apache NetBeans 23 release candidate
What happened
Netbeans 23 launcher auto-detects HiDPI and set's
GDK_SCALE=2
. However, some jdk especially 21 and JBR distributions handle scaling naively. SettingGDK_SCALE=2
in launch script results in 4x scaling.Language / Project Type / NetBeans Component
No response
How to reproduce
Use temurin jdk 21 or Jetbrain JDK 21 and luanch netbeans 23. The netbeans UI on HiDPI screen with 2x scale looks like 4x scaled.
Did this work correctly in an earlier version?
Apache NetBeans 22
Operating System
Arch Linux
JDK
21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: