Search area illegible with dark gtk themes
Bug #173725 reported by
beerfan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-app-install |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The search field applies a light yellow background color when text is entered. It is unclear why this happens but when a Gtk theme with darker background colours and light foreground colors is used the entered text becomes illegible. The search field apparently uses the gnome system colour for the text.
I recommend not colouring the background of the text field at all. Why is this done? If that cannot be avoided then the foreground colour should also be set.
To post a comment you must log in.
I suppose the different background colour for a non-empty search entry widget highlights the fact that the application list in the main view is filtered, not full. In any case, if the background colour is set explicitly rather than letting the theme handle it, the same should also be done to the foreground colour.
Looks like the yellowish background colour is not set if the current GTK theme is either a HighContrast or LowContrast theme, but this still affects other light-on-dark themes.
Perhaps a better option in the long run would be to have a separate themable colour for such widget states so that the colour follows the theme, but that would require support from the widget kit (and the themes themselves).
The attached screenshot illustrates the problem. I've typed "foo" in the search box, but that's difficult to see.