Permissions popup does not use correct context-fill for SVG icons in dark mode
Categories
(Thunderbird :: Add-Ons: General, defect)
Tracking
(thunderbird_esr91 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr91 | --- | unaffected |
People
(Reporter: Thunderbird_Mail_DE, Assigned: Paenglab)
References
Details
Attachments
(5 files)
Tested in Thunderbird 101 Beta and Daily 2022-05-07.
When installing an addon with a SVG icon, the context-fill is not set correctly. The SVG icon is black on dark/black background, but it should be white.
| Reporter | ||
Comment 1•3 years ago
|
||
And one more thing:
When in manifest.json the SVG is not as 32px icon defined (only 64px), the addon manager uses in its addon cards a PNG icon from the addon description on ATN instead of the SVG out of the XPI, which is defined in the manifest.json. That's really confusing, but I can reproduce this in developer tools.
| Assignee | ||
Comment 2•3 years ago
|
||
(In reply to Alex Ihrig [:Thunderbird_Mail_DE] from comment #1)
And one more thing:
When in manifest.json the SVG is not as 32px icon defined (only 64px), the addon manager uses in its addon cards a PNG icon from the addon description on ATN instead of the SVG out of the XPI, which is defined in the manifest.json. That's really confusing, but I can reproduce this in developer tools.
Can you check if this happens on Firefox too? If yes, a dedicated bug for Firefox would be better as TB then will also be fixed because we use the same code.
| Assignee | ||
Comment 3•3 years ago
|
||
On Daily I get this. The used icon is jar:file:///.../abrufensenden_schaltflache-7.0-tb.xpi.xpi!/chrome/skin/getallmsg_fill_black_with_background.svg.
Maybe it's again the denied permission to apply -moz-context-properties: fill; on extensions.
| Reporter | ||
Comment 4•3 years ago
|
||
Richard, please use the attached version of the addon for testing purposes.
The one (version 7.0) from ATN has defined an icon with white background as a workaround. This was necessary because of the missing context-fill in addon manager itself. But this (cards in addon manager) seems to be fixed in latest Beta and Dailies. Therefore I've been going forward and now using the context-fill SVG in version 8 of the addon.
| Reporter | ||
Comment 5•3 years ago
|
||
| Reporter | ||
Comment 6•3 years ago
•
|
||
Can you check if this happens on Firefox too?
Seems to be not possible. Installing from a file is blocked because of being not signed by AMO. And when debugging, the permissions popup is not shown.
| Reporter | ||
Comment 7•3 years ago
|
||
I could move "forward" and use blue color for the main addon SVG like Dillinger does for its addons (see "Config Button"). But this would still be a workaround.
| Assignee | ||
Comment 8•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7f6d500d7399
Set the fill color for the popup-notification-icon. r=aleca
Description
•