Poor contrast for theActive tab with system dark theme on Linux
Categories
(Firefox :: Theme, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox97 | --- | unaffected |
| firefox98 | --- | unaffected |
| firefox99 | --- | wontfix |
| firefox100 | --- | verified |
| firefox101 | --- | verified |
People
(Reporter: sdk, Assigned: emilio)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(2 files, 1 obsolete file)
|
46.26 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
The active tab background color has a color to close the to tabbar background color. This makes it hard to see which tab is active.
This is a regression introduced by https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fc09cf8d7c91553b71d8e83d4118fa6be3287ac8&tochange=771fc3e75f1e6c5636f42d3c5df0091bb04ff06e
To fix both bug 1741293 and this issue, I propose that we use the previous background color value only for the active tab while keeping the new background color value for the toolbar. This solution is similar to the one implemented with the firefox dark theme.
| Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Set release status flags based on info from the regressing bug 1741293
| Assignee | ||
Comment 2•4 years ago
|
||
This is on Adwaita dark? If so this was kind of intentional.
I don't see why the toolbar would need less contrast than the active tab or vice versa, but I don't have strong opinions either way. 301 Dao, though I'm happy to write the patch with whatever approach he prefers.
| Assignee | ||
Comment 3•4 years ago
|
||
I guess it'd be more consistent with the regular dark theme this way. I never noticed that the regular dark theme did this. Will send a patch.
Updated•4 years ago
|
| Assignee | ||
Comment 4•4 years ago
|
||
This is closer to what the standard lwt dark mode does, and seems fair
enough. I don't mind much either way so if you feel strongly about it
lmk.
| Reporter | ||
Comment 5•4 years ago
•
|
||
This is on Adwaita dark?
Yes.
I don't see why the toolbar would need less contrast than the active tab or vice versa
bug 1741293 was trying to fix a different contrast issue with the download icon in the toolbar not having enough contrast vs. the toolbar background color. The solution was to use a darker background color. However, it also changed the background color for the active tab.
Another solution would be to revert bug 1741293 and instead of using a darker color for the toolbar background, we use a lighter blue color for the download icon in the toolbar. That way both the toolbar and active tab will have the same background color.
Comment 6•4 years ago
|
||
Emilio: Do you think we should land the patch and uplift to beta, or back out the original patch on beta?
| Assignee | ||
Comment 7•4 years ago
|
||
I don't have a strong opinion either way (I don't have a strong opinion on the patch to begin with, I use the theme and contrast seems enough for me, but the concern seems fair of course). So 301 Dao.
Updated•4 years ago
|
| Assignee | ||
Comment 10•4 years ago
|
||
GTK3 doesn't have accent colors per se so we reuse the "selected item"
colors.
However, GTK4 does, and dark and light accent colors in libadwaita are
the same, so special-case Adwaita to copy the colors from the light
theme.
Updated•4 years ago
|
Comment 11•4 years ago
|
||
| bugherder | ||
Comment 12•4 years ago
|
||
Comment on attachment 9265859 [details]
Bug 1757506 - Restore selected tab background image. r=dao
Beta/Release Uplift Approval Request
- User impact if declined: See comment 0
- 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: Activate a dark system theme and compare toolbar and active tab colors with the image in 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): Pretty straightforward CSS fix
- String changes made/needed:
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment on attachment 9265859 [details]
Bug 1757506 - Restore selected tab background image. r=dao
Approved for 100.0b3
Comment 14•4 years ago
|
||
| bugherder uplift | ||
Updated•4 years ago
|
Comment 15•4 years ago
|
||
Reproduced the issue on release 99.
Verified - Fixed in latest Nightly 101.0a1 and Beta 100.0b3, using Ubuntu 20.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•