There has been some recent updates in the upstream bug [1,2] - too bad
that Launchpad cannot track it.

>From January 3rd:
"This is an issue with gtk version 3.20 and later. gtk has made some major 
changes in their theme handling in gtk 3.20 and applications need to change to 
adapt to those changes. This issue is reproducible in Ubuntu 18.04 and OEL 7.5 
as the gtk version is >3.20 in both whereas in Ubuntu 16.04, the default 
version is 3.18 and works fine. Further investigation needs to be done on 
exactly what changes are required to make this work with gtk version >=3.20".


>From last week:
"Fix Request (11u, 8u) 

This issue solves GTK 3+ compatibility problems. Upstream patch contains
fixes for 4 issues (JDK-8218469, JDK-8218470, JDK-8218472, JDK-8203627).
It applies cleanly to 11u (and I see 11.0.4-oracle), and to 8u with
reshuffling (and I see 8u221/222). Original tests (JSlider,
JProgressBar, JScrollBar, FileChooserDemo) work fine after the patch,
and looks wrong before the patch. 8u requires
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
-Djdk.gtk.version=3 to reproduce. The risk is low."

The fix [3] was added to 11.0.4 (not yet release) so I will backport and
test it for Bionic's and Cosmic's OpenJDK 11.

References:
[1] https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8203627
[2] https://bugs.openjdk.java.net/browse/JDK-8203627
[3] http://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/fa3eed43d5fa

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770278

Title:
  Swing applications look strange with OpenJDK-11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1770278/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to