← Back to team overview

openjdk team mailing list archive

Bug#897629: Theming is broken with GTK3

 

Package: openjdk-10-jre
Version: 10.0.1+10-3
Severity: normal

Running an application like jmeter under stretch with openjdk-8 works
fine and looks like
https://people.debian.org/~biebl/java/stretch-gtk.png
Running the same application under buster or sid with openjdk-9 or 10,
the theming is completly broken:
https://people.debian.org/~biebl/java/buster-gtk.png
- The spacing is odd, see e.g. the toolbar items or the text on the
  buttons
- The unchecked checkboxes are not shown at all
- grey instead of white backgrounds in list views

The main difference afaik is
https://codesearch.debian.net/show?file=openjdk-10_10.0.1%2B10-3%2Fdebian%2Fpatches%2F8198649.diff&line=32

I.e. in openjdk-10, gtk3 is preferred (I have both libgtk2.0-0 and
libgtk-3-0 installed).
Ideally the theming with GTK3 should be fixed. The alternative is to
drop 8198649.diff again.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openjdk-10-jre depends on:
ii  libasound2               1.1.6-1
ii  libatk-wrapper-java-jni  0.33.3-21
ii  libc6                    2.27-3
ii  libgif7                  5.1.4-2
ii  libgl1                   1.0.0+git20180308-2
ii  libgl1-mesa-glx          18.0.2-2
ii  libglib2.0-0             2.56.1-2
ii  libgtk-3-0               3.22.30-1
ii  libjpeg62-turbo          1:1.5.2-2+b1
ii  libpng16-16              1.6.34-1
ii  libx11-6                 2:1.6.5-1
ii  libxext6                 2:1.3.3-1+b2
ii  libxinerama1             2:1.1.3-1+b3
ii  libxrandr2               2:1.5.1-1
ii  openjdk-10-jre-headless  10.0.1+10-3
ii  zlib1g                   1:1.2.11.dfsg-1

Versions of packages openjdk-10-jre recommends:
ii  fonts-dejavu-extra  2.37-1

openjdk-10-jre suggests no packages.

-- no debconf information