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

GTK L&F: JComboBox foreground misses theme change

XMLWordPrintable

    • b03
    • generic
    • generic
    • Verified

      When switching themes on the Gnome desktop, the JComboBox foreground color does not change until the current value or a new value is selected, making the current value invisible in some cases.

      To reproduce, start SwingSet2 with GTK L&F and select the ComboBoxDemo tab. From the desktop, switch to a theme with inverse colors, such as HighContrastLargePrintInverse. Notice how the combobox value is now painted white on white.

      Suggestions for a workaround would be much appreciated. I have tried various ways to force a repaint from revalidate() but to no avail.

            stayer Kirill Kirichenko (Inactive)
            leifs Leif Samuelsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: