[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-10-31 Thread CarlosRuiz_globalqss
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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-10-31 Thread Launchpad Bug Tracker
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:

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-10-31 Thread Launchpad Bug Tracker
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.

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-05-22 Thread Rocko
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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-05-22 Thread Tiago Stürmer Daitx
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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-05-18 Thread Tiago Stürmer Daitx
** 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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-05-17 Thread Rocko
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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-04-23 Thread Rocko
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

[Bug 1765914] Re: Java windows and fonts are huge running in openjdk-11-jre

2018-04-21 Thread Rocko
** 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