Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365313

GTK LaF does not respect system color scheme with Gnome

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 11, 17, 21, 24, 25, 26
    • client-libs
    • None
    • generic
    • linux

      To reproduce:

      * On a system with Gnome 48 (Fedora 42, for example),
      * Make sure the system color scheme is dark (Settings | Appearance | Style), and
      * Run the SwingSet2 demo app:
      ./build/linux-x86_64-server-release/images/jdk/bin/java -jar ./build/linux-x86_64-server-release/images/jdk/demo/jfc/SwingSet2/SwingSet2.jar
      * In the SwingSet2 window, go to the "Look & Feel" menu and choose "GTK Style Look & Feel"

      Observe how the window background color and all the controls are not dark as they should be.

      For comparison, follow the same steps on a system with older Gnome (for example, 42.9 from Ubuntu 22.04) and observe the difference.

            azvegint Alexander Zvegintsev
            mkartashev Maxim Kartashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: