JButton & JToggleButton text Color does not change when switching between Light & Dark Style in GTK LookAndFeel

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 20, 22, 23, 24, 25, 26
    • Component/s: client-libs
    • None
    • x86
    • linux_ubuntu

      I am trying to switch between Default ( light ) to Dark or Dark & Default ( light ) . I am seeing that JButton & JToggleButton text Color does not change . I have to press on the Button's to change its text Color on Ubuntu 24.04 & Ubuntu 24.10

      Step to reproduce
      -------------------------
      1) Run swing/AbstractButton/4105766/bug4105766.java in GTK LookAndFeel
      2) Open Setting -> Appearance - Style - Dark
      3) Observe the JButton & JToggleButton the background of the all the components are in yellow & text are in white
      4) Change Style from Dark to Default ( light )
      Observe that JCheckBox & JRadioButton text are changed but JButton & JToggleButton remains the same if you see the same then the bug is reprodiuced
      5) Click on JButton & JToggleButton and Observe that Text color gets changed.

            Assignee:
            Unassigned
            Reporter:
            Lawrence Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: