Hi, same issue here, swing applications are unusable because of the big
fonts.
For example running SoapUI-5.4.0 results in too big font screen that
makes it unusable.
Reading the changset a3cc7e551a48 pointed by Tiago I found a workaround,
setting environment variable J2D_UISCALE to 1 makes the
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: openjdk-lts (Ubuntu)
Status: New => Confirmed
--
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:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: unity-settings-daemon (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Interesting! I would think that it should check if unity is actually
running before it looks for the unity variables, and if gnome-shell is
running it should just look for the gnome-shell variables.
I did notice that when it was reading the scaling factor of 16 for my
laptop monitor and drawing
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
I have been trying to track down which component/application is actually
responsible for creating and maintaining /com/ubuntu/user-interface
/scale-factor, but so far no luck.
It seems to be related to Unity
** Also affects: unity-settings-daemon (Ubuntu)
Importance: Undecided
Status: New
--
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
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
I've attached a comparison of xrandr's output for Wayland and X11. In
Wayland, it only shows the currently configured resolution, whereas in
X11 it lists all available resolutions and flags the current one with an
asterisk.
Perhaps Java is using xrandr and misinterpreting the results when trying
** Description changed:
- If I run a Java application with oracle-java-8, the windows and fonts
- are all normal size. When I run the same application with
- openjdk-11-jre, everything is scaled up to double size (see attached
- image, which shows an application on the left running in Java 8 and