Missing TextPane.background property in GTKLookAndFeel causes white background on dark theme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-lts (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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 when getting "TextPane.
It is because GTK LaF inherit from Synth Laf, which is extend BasicLookAndFeel, and TextPane.background is defined in BasicLookAndFeel as follows:
```
```
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.
summary: |
- Wrong TextPane.background color with GTKLookAndFeel on dark theme + Missing TextPane.background property in GTKLookAndFeel causes white + background on dark theme |
description: | updated |
The attachment "Fix openjdk GTK LaF color bug" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]