Photon Colors theme light sidebar has become dark with low contrast black text
Categories
(Firefox :: Theme, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | 141+ | verified |
| firefox140 | + | verified |
| firefox141 | + | verified |
| firefox142 | + | verified |
People
(Reporter: ke5trel, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
|
127.04 KB,
image/png
|
Details |
STR:
- Install Photon Colors theme (2,342 users).
- Open the bookmarks sidebar (Ctrl+B).
Expected:
Sidebar is light and/or text has good contrast.
Actual:
Sidebar has dark background with black text and low contrast.
Sidebar header has white text without contrast issue.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a3ce95c88b35238208165e94db12f6b0d970a8cc&tochange=b8fa32e6c490b9b978c64b704fd8ceeb5d1f987d
Regressed by Bug 1968040.
| Assignee | ||
Comment 1•1 year ago
|
||
Dupe of bug 1971487, right?
No, reproducible on latest Nightly 142.0a1 (2025-06-24).
| Assignee | ||
Comment 3•1 year ago
|
||
I can't repro this... Does this repro on a clean profile for you?
| Assignee | ||
Comment 4•1 year ago
|
||
Huh, nvm, I can repro on a clean profile, doesn't repro with sidebar.revamp = true.
| Assignee | ||
Comment 5•1 year ago
|
||
This was setting the color scheme of the sidebar based off the newtab
colors, so the fact that it worked was total luck.
This was added for bug 1786627 for Firefox View. Instead, make
firefoxview.css and common-shared work with both light and dark modes
via light-dark, and since it wants the same color-scheme as the new tab,
do so.
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
This might end up with mismatched colors (dark sidebar header, light
sidebar background), but that's better than the current behavior and
allows you to use the sidebar.
The reason this fixes the issue is that it gets the background-color
from the color-scheme of the #sidebar browser, which is set via style
attribute (see the other patch which removes this behavior).
| Assignee | ||
Comment 7•1 year ago
|
||
Comment on attachment 9496562 [details]
Bug 1973777 - Wallpaper for 140-141: set sidebar background for legacy sidebar on sidebar browser too. r=#theme,#sidebar-reviewers!
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: prevents unusable sidebar on themes with dark background but light toolbars.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Specific to legacy sidebar and somewhat easy to verify.
- String changes made/needed: none
- Is Android affected?: No
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Emilio, do you intend to land it on firefox-main before we uplift it the beta and release?
| Assignee | ||
Comment 9•1 year ago
|
||
No, comment 7 is only for beta / release, the right fix is the other patch.
Comment 10•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Comment 11•1 year ago
|
||
I was able to reproduce the issue on Ubuntu 22 using Firefox build 141.0a1(2025.06.22) and steps from description.
Verified as fixed on Win11/Ubuntu22/Mac 12.6 using Firefox 141.0b2.
Comment 12•1 year ago
|
||
Pushed by agoloman@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/6bd70de44b89
https://hg.mozilla.org/releases/mozilla-beta/rev/1de58f537573
Fix ext_themes_sidebar.js
| Assignee | ||
Comment 13•1 year ago
|
||
Still an issue in main.
Comment 14•1 year ago
|
||
https://phabricator.services.mozilla.com/D254860 was created targeting firefox-autoland so Phabricator didn't close it automatically after the commit was pushed to firefox-beta.
Updated•1 year ago
|
| Reporter | ||
Comment 15•1 year ago
|
||
Nightly 142.0a1 fix window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e799e1c54cd17da6777b3780f1127350ae9eb113&tochange=f0c5045b9e8ac11e1c0b8927ccbb69430fab1fc8
Likely fixed by Bug 1973817.
Comment 16•1 year ago
|
||
Emilio said his patch may still be worth taking, adding a needinfo as a reminder.
Comment 17•1 year ago
|
||
Setting Fx140 to fixed since the regressor was backed out of release
https://bugzilla.mozilla.org/show_bug.cgi?id=1968040#c6
Comment 18•1 year ago
|
||
Comment on attachment 9496562 [details]
Bug 1973777 - Wallpaper for 140-141: set sidebar background for legacy sidebar on sidebar browser too. r=#theme,#sidebar-reviewers!
See Comment 17
Comment 19•1 year ago
|
||
Setting ESR140 to fixed since the regressor was backed out of ESR140
https://bugzilla.mozilla.org/show_bug.cgi?id=1968040#c8
Updated•1 year ago
|
Comment 21•1 year ago
|
||
Comment on attachment 9496559 [details]
Bug 1973777 - Stop setting browser color-scheme from contentTheme.js. r=dao,#theme
Revision D254857 was moved to bug 1974573. Setting attachment 9496559 [details] to obsolete.
| Assignee | ||
Comment 22•1 year ago
|
||
bug 1974573 of course :)
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Verified as fixed on Windows 11, Ubuntu22 and macOS 10.15 using Firefox 140.0.4, the sidebar is light and/or text has good contrast with Photon Colors theme.
Updated•1 year ago
|
Comment 24•1 year ago
•
|
||
Verified as fixed on Windows 11, Ubuntu22 and macOS 10.15 using Firefox 142.0a1, the sidebar is light and/or text has good contrast with Photon Colors theme.
Updated•1 year ago
|
Comment 25•1 year ago
|
||
Verified as fixed on Windows 11, Ubuntu22 and macOS 10.15 using Firefox 140.1.0esr, the sidebar is light and/or text has good contrast with Photon Colors theme.
Updated•1 year ago
|
Description
•