Open Bug 1927007 Opened 4 months ago Updated 24 days ago

[meta] Improve dark reader features

Categories

(Thunderbird :: Message Reader UI, enhancement, P2)

enhancement

Tracking

(thunderbird_esr128 wontfix)

Tracking Status
thunderbird_esr128 --- wontfix

People

(Reporter: aleca, Unassigned)

References

Details

(Keywords: meta)

Some areas of improvements that should be tackled as follow ups:

  • Sometimes a white background flashes before the message is loaded and the styles are updated.
  • Sometimes we get a Uncaught TypeError: Window.getComputedStyle: Argument 1 is not an object. adaptMessageForDarkMode chrome://messenger/content/DarkReader.mjs:153. Probably MsgLoaded runs too early.
  • We should check that documentStyle.filter.includes("prefers-color-scheme: dark") actually does something and maybe improve it.
  • We should improve the conditions to not modify the content of an element if the style is already perfectly compatible with dark mode.
Keywords: meta
Summary: Improve dark reader features → [meta] Improve dark reader features

How about a toolbarbutton, perhaps as an add-on, to toggle it on and off quickly, in case one suspects it fails for a message?

Depends on: 1927825
Depends on: 1942206
You need to log in before you can comment on or make changes to this bug.