Findbar text unreadable when using built-in light theme with dark GTK theme
Categories
(Toolkit :: Themes, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | fix-optional |
firefox70 | --- | fix-optional |
People
(Reporter: argonvegell, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
create a test profile on "about:profiles" and enabled Light Theme on said profile, go to Firefox Home Page, then press Ctrl+F and type "facebook".
Actual results:
"facebook" text on Find bar is not visible.
Expected results:
"facebook" text on Find bar should be black.
Reporter | ||
Comment 1•5 years ago
|
||
I forgot to mention, my operating system is Lubuntu 18.04.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Looks like you are using a custom system theme, the default lubuntu 18.04 theme does not have this issue. What theme changes have you made?
Reporter | ||
Comment 4•5 years ago
|
||
I'm using Windows 10 Dark theme: https://github.com/B00merang-Project/Windows-10-Dark/
Reporter | ||
Comment 5•5 years ago
|
||
BTW, I have found another Light Theme that seems to work well with my setup: https://addons.mozilla.org/en-US/firefox/addon/minimal-light-theme-webext/
This theme is similar to Firefox's built-in Light theme, but without the issue present in this bug report.
Reporter | ||
Comment 6•5 years ago
|
||
Minimal Light Theme WebExt
STR:
- Enable a dark system theme (eg Yaru-dark, Adwaita-dark) on Ubuntu 19.04.
- In Firefox, enable the built-in light theme.
- Press Ctrl+F to show findbar and search for a word that exists on the page.
The findbar text is white on white background and can only be read by highlighting it.
Comment 8•5 years ago
|
||
So the problem here is that the urlbar and the searchbar use hsla(0,0%,100%,.8)
and black
as fallback respectively for toolbar background-color and color, while the findbar and usercontext.css both use -moz-Field
and -moz-FieldText
.
-moz-Field and -moz-FieldText are sensitive to the system theme, while the first ones are not. Not sure how to fix this correctly here, should we just use hsla(0,0%,100%,.8)
and black
as fallback everywhere ?
Updated•5 years ago
|
Comment 9•5 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #8)
So the problem here is that the urlbar and the searchbar use
hsla(0,0%,100%,.8)
andblack
as fallback respectively for toolbar background-color and color, while the findbar and usercontext.css both use-moz-Field
and-moz-FieldText
.-moz-Field and -moz-FieldText are sensitive to the system theme, while the first ones are not. Not sure how to fix this correctly here, should we just use
hsla(0,0%,100%,.8)
andblack
as fallback everywhere ?
Seems like we should set both toolbar_field
and toolbar_field_text
in the light theme? And the webextension theme framework should probably reject either property if the other one isn't set? I don't think there's a way to sanely fix this for all themes just with the fallback.
Comment 10•5 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #9)
I don't think there's a way to sanely fix this for all themes just with the fallback.
I agree with your two other suggestions, but I think we should fix having 2 different fallbacks for the urlbar/searchbar and the findbar, I don't think that helps in terms of sanity either. Should the findbar just use hsla(0,0%,100%,.8) and black as fallback ?
Updated•5 years ago
|
Updated•2 years ago
|
Comment 12•9 months ago
|
||
This should work now.
Comment 13•9 months ago
|
||
Fixed by Bug 1634449.
Description
•