Some emails have a dark background if the system is in dark mode, even if message dark mode is disabled
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr128 unaffected, thunderbird138 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr128 | --- | unaffected |
| thunderbird138 | --- | fixed |
People
(Reporter: skyschub, Assigned: Paenglab)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
190.23 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-beta+
|
Details | Review |
I am on macOS, with the system (and thus Thunderbird) in dark mode, but my mail content is explicitly not in dark mode - the "Enable dark message mode" checkbox is not set, and the dark mode toggle is in "light mode". This is deliberate on my end, because a lot of mails don't work in dark mode, so I just want the mail content to be "light mode", even with the chrome in dark mode.
Despite my "light mode" settings, lots of HTML-emails now have a dark background, and all plain text mails have a dark theme. This is making a lot of mails harder to read or near impossible to read, because the font color isn't adjusted - I've attached a screenshot of an email.
mozregression pointed me to this push, so I'm fairly sure this is a regression of bug 1957508.
The right solution should probably toggle color-scheme: dark following the light/dark toggle switch.
| Assignee | ||
Comment 2•1 year ago
|
||
Martin, is it possible (if yes, how?) to inject the style color-scheme from here to the message? As I know the message is protected from external access which could make it complicated.
Comment 3•1 year ago
•
|
||
Since that's controlled by prefs, I wonder if we could actually use pref media queries to apply the better matching color scheme. Though it's possible that the stylesheet we use isn't "low level" enough to get to do that.
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0e98866f1c64
Apply the color-scheme only when dark reader is enabled. r=freaktechnik,aleca
| Assignee | ||
Comment 6•1 year ago
•
|
||
Comment on attachment 9477438 [details]
Bug 1958728 - Apply the color-scheme only when dark reader is enabled. r=#thunderbird-front-end-reviewers
Flag not set.
| Assignee | ||
Comment 7•1 year ago
|
||
Comment on attachment 9477438 [details]
Bug 1958728 - Apply the color-scheme only when dark reader is enabled. r=#thunderbird-front-end-reviewers
Uplift Approval Request
- Please state case for uplift consideration and ensure bug severity is set: On dark system with light TB theme the message reader shows still in dark mode.
- User impact if declined: Wrong message reader color scheme.
- Is this code covered by automated tests?: No
- Has the fix been verified in Daily?: Yes
- Has the fix been verified in Beta?: N/A
- Needs manual test from QA?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Bug 1957508
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small CSS change
- String changes made/needed: no
Comment 8•1 year ago
|
||
Comment on attachment 9477438 [details]
Bug 1958728 - Apply the color-scheme only when dark reader is enabled. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for beta
Comment 9•1 year ago
|
||
| bugherder uplift | ||
Thunderbird 138.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/2fdd72cfaa77
Description
•