** Summary changed: - Wrong TextPane.background color with GTKLookAndFeel on dark theme + Missing TextPane.background property in GTKLookAndFeel causes white background on dark theme
** Description changed: OpenJDK provide GTKLookAndFeel for Ubuntu and other Linux desktop when using Gnome and GTK based environment. When setting dark theme (such as adwaita-dark) from operating system preference, GTK LAF changes its colors (great!). - Unfortunately "TextPane.background" become always 'white' so edit pane - become a "white-out", that means both background and font are white. + Unfortunately when getting "TextPane.background" it returns always + 'white' so edit pane become a "white-out", that means both background + and font are white. It is because GTK LaF inherit from Synth Laf, which is extend BasicLookAndFeel, and TextPane.background is defined in BasicLookAndFeel as follows: ``` - "TextPane.background", white, + "TextPane.background", white, ``` Since GTK LaF respect desktop theme such as dark, so it should be also change based on the desktop configuration. I've attached a patch to solve it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894419 Title: Missing TextPane.background property in GTKLookAndFeel causes white background on dark theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1894419/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs