When the Spaces bar is hidden on dark themes, all items in the Spaces Menu have the same icon.
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr102 unaffected, thunderbird114 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
thunderbird114 | --- | fixed |
People
(Reporter: dillinger, Assigned: Paenglab)
Details
(Keywords: regression, regressionwindow-wanted, Whiteboard: smoketestbeta)
Attachments
(2 files)
39.76 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
Select/install a dark theme, click bottom left |<- button to hide the Spaces Toolbar, then click top left Spaces button for the Spaces Menu. The Spaces button icon is used for all menu items.
Possible cause & fix:
On line 38 of chrome://messenger/content/webextensions.css there is the following rule:
@media (prefers-color-scheme: dark) {
:root .spaces-addon-menuitem,
:root .spaces-popup-menuitem,
.webextension-action {
list-style-image: var(--webextension-toolbar-image-light, inherit) !important;
}
:root .spaces-addon-button img {
content: var(--webextension-toolbar-image-light, inherit) !important;
}
}
The !important keywords here force not just the light icon but also the inheriting of the parent icon and therefore all icons are replaced by the Spaces icon.
When the !important keywords are removed it works OK, I don't think they are necessary, @media overrules the default anyway, but maybe I'm missing something.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/5ab34c7e4766
Remove the .spaces-popup-menuitem styles from webextensions.css. r=elizabeth
Assignee | ||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Comment on attachment 9333138 [details]
Bug 1832476 - Remove the .spaces-popup-menuitem styles from webextensions.css. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for beta
Comment 4•2 years ago
|
||
bugherder uplift |
Thunderbird 114.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/562ebe4b89b9
Description
•