Dark Theme inconsistency with OpenPGP and S/MIME message security window
Categories
(Thunderbird :: Theme, defect)
Tracking
(thunderbird_esr78+ fixed, thunderbird81 fixed)
People
(Reporter: ak.bugzilla, Assigned: Paenglab)
Details
Attachments
(2 files)
406.36 KB,
image/png
|
Details | |
1.84 KB,
patch
|
aleca
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 Edg/84.0.522.63
Steps to reproduce:
Receive e-mails with either OpenPGP or S/MIME encryption or signature. Click the lock or letter icon to open the message security window.
Actual results:
In dark mode, the S/MIME message security window is dark, whereas the corresponding OpenPGP window is light.
Expected results:
Show both windows with the same style in dark mode.
Assignee | ||
Comment 1•4 years ago
|
||
Make it themeable too.
Comment 2•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Comment on attachment 9172092 [details] [diff] [review]
1661203-openPGP-status-themeable.patch
[Approval Request Comment]
User impact if declined: inconsidtent dialog colours with dark themes
Testing completed (on c-c, etc.): on the way to c-c
Risk to taking this patch (and alternatives if risky): low
Comment 4•4 years ago
|
||
Comment on attachment 9172092 [details] [diff] [review]
1661203-openPGP-status-themeable.patch
[Triage Comment]
approved for beta
Kai or Walt can you test this when the beta becomes available?
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/42592551aa26
Make the OpenPGP message security status dialog themeable. r=aleca
Comment 6•4 years ago
|
||
bugherder uplift |
Thunderbird 81.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/4acbb1d30f13
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Comment on attachment 9172092 [details] [diff] [review]
1661203-openPGP-status-themeable.patch
[Triage Comment]
Approved for esr78
Comment 8•4 years ago
|
||
bugherder uplift |
Thunderbird 78.2.1:
https://hg.mozilla.org/releases/comm-esr78/rev/c206e51ae18c
Comment 9•4 years ago
|
||
Is it correct to add both code lines in the patch? The dialogShadowDom.js seems to do exactly the injection of the themeableDialog.css. So why do we need both?
+<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
+<script src="chrome://messenger/content/dialogShadowDom.js"/>
Assignee | ||
Comment 10•4 years ago
|
||
The dialog buttons, the "OK" button for example, are in shadow DOM where our style sheets have no access, so we need to inject it there through dialogShadowDom.js.
Comment 11•4 years ago
|
||
Maybe i haven't seen the complete / latest version of the JS file. If I understand it right, the JS in the file I've seen in DXR, had only the function to inject the CSS.
Comment 12•4 years ago
|
||
So this JS provides the ability to style dialog / window elements on the outside of the content:
https://hg.mozilla.org/comm-central/file/tip/mail/base/content/dialogShadowDom.js
Okay ;-)
Comment 13•4 years ago
|
||
Removing needinfo, I haven't yet played with themes, so I currently don't know how to test this. But it looks like you already solved this.
Comment 14•4 years ago
|
||
The OpenPGP dialog looks good in the tests I did on Windows and Linux of the 78.2.1 and 81.0b2 release candidates.
Updated•4 years ago
|
Description
•