Sidebar text has changed from white to black for some themes resulting in low contrast with dark background
Categories
(Firefox :: Theme, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | 141+ | fixed |
| firefox139 | --- | unaffected |
| firefox140 | + | verified |
| firefox141 | --- | verified |
| firefox142 | --- | verified |
People
(Reporter: ke5trel, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
|
78.46 KB,
image/png
|
Details | |
|
44.84 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-release-
dmeehan
:
approval-mozilla-esr140-
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
STR:
- Install Colorful Abstract Neon theme (22,133 users).
- Open the bookmarks sidebar (Ctrl+B).
Expected:
Sidebar text is light with good contrast against dark background.
Actual:
Sidebar text is black with low contrast against dark background.
Search textbox also changed from dark to white.
New sidebars not affected, history sidebar affected with sidebar.revamp = false.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a3ce95c88b35238208165e94db12f6b0d970a8cc&tochange=b8fa32e6c490b9b978c64b704fd8ceeb5d1f987d
Regressed by Bug 1968040.
Comment 1•9 months ago
|
||
:dao, since you are the author of the regressor, bug 1968040, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 2•9 months ago
|
||
:hjones could this be triaged? We are already in RC for Fx140, do we need to keep this on the radar for a ride along.
Comment 3•9 months ago
|
||
:emilio I'm curious if this might have the same root cause and fix as bug 1971273?
Since Bug 1971273 landed the scope has expanded, now all sidebars are affected including the new ones.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f50011f5fabdd20fcf236c2a64cfe2560ff96712&tochange=10864b035131b9085c25c652161998a443093108
Regressed by Bug 1971273.
Comment 6•9 months ago
|
||
Hmm, with bug 1971273, the changes from bug 1968040 seem to have become irrelevant for things like the customize sidebar doc and the bookmarks sidebar? So I guess this isn't my regression anymore? :)
| Assignee | ||
Comment 7•9 months ago
|
||
They are not irrelevant. That rule still applies and is the root cause of the issue afaict. But seems easy to write a quick fix for it pre-soft-freeze, at least.
| Assignee | ||
Comment 8•9 months ago
|
||
This is a targetted fix intended to land pre-soft-freeze.
The issue is that contentTheme sets lwtheme, so anything that imports
global.css and uses contentTheme.js now gets a light color scheme.
Updated•9 months ago
|
| Assignee | ||
Comment 9•9 months ago
|
||
This is to land after the soft freeze.
I added this for bug 1877298, and since then we stopped trying to do
what that bug was doing.
Now it's unused, and after the regressing bug it causes problems,
because the presence of a theme is not indicative of whether the page
should itself be themed (that's for [lwt-{sidebar,newtab}] attributes to
decide).
Comment 10•9 months ago
|
||
Updated•9 months ago
|
Comment 11•9 months ago
|
||
| bugherder | ||
Comment 12•9 months ago
|
||
Comment 13•9 months ago
|
||
Comment 14•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
Comment 15•9 months ago
|
||
Bug 1973767 is possibly a duplicate of this?
:emilio, could you add a release/esr140 uplift request on this?
Assuming only https://hg.mozilla.org/mozilla-central/rev/42f3095b4fe8 is needed?
Updated•9 months ago
|
Comment 16•9 months ago
|
||
Let's also please have QA verify this and if anything else needs uplift before doing so.
| Assignee | ||
Comment 18•9 months ago
|
||
(In reply to Donal Meehan [:dmeehan] from comment #15)
Assuming only https://hg.mozilla.org/mozilla-central/rev/42f3095b4fe8 is needed?
Correct.
| Assignee | ||
Comment 19•9 months ago
|
||
Comment on attachment 9496024 [details]
Bug 1971487 - Prevent unthemed sidebars with themed browsers from forcing a light color scheme. r=dao,#sidebar-reviewers
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Theming regression (see dupe).
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0, or see dupes.
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Targeted CSS fix.
- String changes made/needed: none
- Is Android affected?: No
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 21•9 months ago
|
||
I was able to reproduce the issue on Win11x64 using Firefox build 141.0a1(20250611215745) and steps from description/duplicate bug.
Verified as fixed on Win11x64/Ubuntu22/Mac 12.6 using Firefox builds 141.0b1 and 142.0a1.
Waiting for next 140.0 release to check the uplift.
Comment 23•9 months ago
|
||
Setting Fx140 to fixed since the regressor was backed out of release
https://bugzilla.mozilla.org/show_bug.cgi?id=1968040#c6
Comment 25•9 months ago
|
||
Verified as fixed on Win11x64/Ubuntu22/Mac12.6 using Firefox build 140.0.1(20250625213854).
Comment 26•9 months ago
|
||
Comment on attachment 9496024 [details]
Bug 1971487 - Prevent unthemed sidebars with themed browsers from forcing a light color scheme. r=dao,#sidebar-reviewers
Rejecting release uplift request. The regressor was backed out of release for Fx140.
Comment 27•9 months ago
|
||
Setting ESR140 to fixed since the regressor was backed out of ESR140
https://bugzilla.mozilla.org/show_bug.cgi?id=1968040#c8
Comment 28•8 months ago
|
||
Comment on attachment 9496024 [details]
Bug 1971487 - Prevent unthemed sidebars with themed browsers from forcing a light color scheme. r=dao,#sidebar-reviewers
Rejecting ESR140 uplift request. The regressor was backed out of ESR140 for 140.1esr
Description
•