Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
11.0, 12.2
-
None
-
Kubuntu 18.03
Oracle JDK 11.0.2
Description
Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take into account the system's default HiDPI scaling. This was reported in a Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . Note that Window decorations seem to be the correct size.
Setting the GDK_SCALE environment variable seems to fix the problem, if I understand the originally reporter correctly. This could probably be done easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix the problem in multi-monitor setups. We should investigate what could be done to make scaling work properly in multi-monitor setups involving one HiDPI screen and one non-HiDPI screen.
Before merging a patch to the launcher script, it should be tested on a couple of different Linux environments, using both HiDPI and non-HiDPI screens. Note that the UNIX launcher script is also used on MacOS.
Attachments
Attachments
Issue Links
- Dependent
-
NETBEANS-2617 Redraw common icons in SVG
- Open
- incorporates
-
NETBEANS-2955 Menu font is ways too big on a HiDPI monitor (Linux)
- Open
-
NETBEANS-765 HiDPI resolution of 3840x2160 results in tiny icons and text fields that are too small for the text within (Linux)
- Resolved
- links to
- mentioned in
-
Page Loading...