Closed Bug 1832732 Opened 1 year ago Closed 1 year ago

Wrong text color in the tabbar with dark system theme on Linux

Categories

(Firefox :: Theme, defect)

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- unaffected
firefox114 --- unaffected
firefox115 --- fixed

People

(Reporter: sdk, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Attached image wrong-color.png

bug 1831841 introduced a regression where the foreground color (text, icon) is black when using the system dark theme on Linux.

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=4e43ca74c9198f6c01d64095bd77e8f2441eed95&tochange=752dc76b26eb54e7dfa875c749e91526496688b6

Flags: needinfo?(emilio)

Ah, this only happens without CSD, and I see why.

Assignee: nobody → emilio
Flags: needinfo?(emilio)

In bug 1831841 I removed the menubar text colors, because the menubar is
now non-natively styled, but I missed they are used in this case.

Let's just let color inherit through like we do for CSD and non-native
themes.

Attachment #9333292 - Attachment description: Bug 1832732 - Style tabs toolbar the same with and without CSD. r=dao,stransky → Bug 1832732 - Improve menubar and tabs toolbar styling consistency with and without CSD. r=dao,stransky

Same fix as above, let it be styled as a regular toolbar. This works on
Light and dark native themes as well, and actually fixes some contrast
issues in some themes like Colloid-Green for example.

Depends on D177882

We only use this in one place in navigator-toolbox.inc.xhtml, but we
style it as transparent.

A lot of the styling is redundant with the toolbar rule above anyways.

appearance: toolbar can't do anything fancy, actually, because we don't
have text colors for it so it can't render much different as a
background anyways. I think we should probably just remove that but that
would be a follow-up.

Depends on D177883

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5868f3e8b379
Improve menubar and tabs toolbar styling consistency with and without CSD. r=dao
https://hg.mozilla.org/integration/autoland/rev/a74e74917efd
Remove menubar appearance usage from #placesToolbar on Linux. r=dao
https://hg.mozilla.org/integration/autoland/rev/e1a8f01d9769
Remove redundant and now-broken toolbar[type="menubar"] styling. r=dao
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/14c4908a2037
Tweak browser_startup_flicker exception now that linux without CSD reacts to windows visually.
Duplicate of this bug: 1832864
Regressions: 1838460
Duplicate of this bug: 1704086
Duplicate of this bug: 1834383
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: