Closed Bug 1637620 Opened 4 years ago Closed 4 years ago

Light theme uses OS colors for preview pane in Mac OS X

Categories

(Thunderbird :: Theme, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1592210

People

(Reporter: arkban, Unassigned)

Details

Attachments

(3 files)

Attached image Add-ons_Manager.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

I upgraded to 77.0b2. I am using Thunderbird's "Light" theme on Mac OS X 10.15.4 (Catalina). My Mac OS X settings theme is set to "Dark".

The preview pane (message pane) uses the OS colors instead of the theme colors. So I see white-text-on-black-background rather than the expected black-text-on-white-background.

You can actually see how even the preview display of he theme is wrong, see "Add-ons_Manager.png" screenshot.

Actual results:

The preview pane (message pane) uses the OS colors instead of the theme colors. So I see white-text-on-black-background rather than the expected black-text-on-white-background.

Expected results:

The preview pane (message pane) uses the theme colors instead of the theme colors.

I tried fixing this by setting "Preferences" -> "Language & Appearance" -> "Colors" -> "Override the colors specified by the content with my selection above:" -> "Always" but it doesn't work the same:

  • Before 77.0b2: "Always" only changed the background color of the body changed.
  • In 77.0b2:"Always" the background color of every <div> and similar element changes.

Compare setting "Override the colors specified by the content with my selection above" to:

  • Never - see screenshot "Override Colors == Never.png"
  • Always - see screenshot "Override Colors == Always.png" (every element has been changed to background white)

I also found what appears to be a related issue: if you uncheck "Composition" -> "HTML Style" -> "Use reader's default colors" and set the "Background color" to white, it works as expected: only the <body> background color is changed to white, the other child elements retain their background colors.

I found another fun fact: if you set "Override the colors specified by the content with my selection above:" to "Always" the "Composition" -> "HTML Style" -> "Use reader's default colors" is checked or unchecked it will always use the theme's colors without overrides! So I can either:

  • Set "Override the colors specified by the content with my selection above:" to "Always" and read my emails with black-text-on-white-bg and write emails in white-text-on-black-bg
  • OR Set "Override the colors specified by the content with my selection above:" to "Never" and configure "Composition" -> "HTML Style" -> "Use reader's default colors" so I can read my emails with white-text-on-black-bg and write emails in black-text-on-white-bg!

This is similar to https://support.mozilla.org/en-US/questions/1276698. I first posted there, but the more I dug the more it felt appropriate to post here.

The problem is bug 1592210. You can create and set the integer pref ui.systemUsesDarkTheme to 0 to disable that the dark system theme is observed.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Thank you, that absolutely works as described.

I apologize for filling the duplicate, I did try to find existing tickets before creating.

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

Attachment

General

Creator:
Created:
Updated:
Size: