It looks like the code in
src/java.desktop/unix/native/common/awt/systemscale/systemScale.c is
reading the dconf /com/ubuntu/user-interface/scale-factor value to
determine scaling and using the highest setting. When openjdk is drawing
windows too large, this is the value:
$ dconf read /com/ubuntu/user-interface/scale-factor
{'eDP-1': 16, 'HDMI-1': 8}
and if I manually change this to {'eDP-1': 8, 'HDMI-1': 8}, the windows
are drawn normal size.
I'm not sure why this was set to 16 in the first place, because gnome-
control-center has both monitors set to 100% scaling. Is scale-factor a
leftover from Unity?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765914
Title:
Java windows and fonts are huge running in openjdk-11-jre
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1765914/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs