Closed Bug 1577591 Opened 5 years ago Closed 5 years ago

how to *disable* dark mode

Categories

(Thunderbird :: Theme, defect)

defect
Not set
normal

Tracking

(thunderbird_esr6869+, thunderbird_esr78?, thunderbird70 fixed, thunderbird71 fixed)

RESOLVED FIXED
Thunderbird 71.0
Tracking Status
thunderbird_esr68 69+ ---
thunderbird_esr78 ? ---
thunderbird70 --- fixed
thunderbird71 --- fixed

People

(Reporter: harri, Assigned: Paenglab)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached file settings.ini

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Steps to reproduce:

run thunderbird on Linux (Debian sid) in safe-mode, or select the "Light" theme in thunderbird

Actual results:

the folder pane and the message overview pane are still in dark mode. Dark background, white fonts

Expected results:

It should use a light background and dark font for all parts of thunderbird. The light and dark theme are supposed to override the system's config settings, AFAIU. Thunderbird's default theme should give me gtk's color scheme.

Could that be because "gtk-application-prefer-dark-theme" is set to "1"?

If I change my system theme from Adwaita(default) to Adwaita Dark using Tweaks, the Folder and Message panes are dark no matter if I use the Light or Default theme in Thunderbird. They work as expected with the default Adwaita theme.

You could try to set in TB Preferences > Advanced > General and clicking the "Config Editor". Then add a new integer pref ? gtk-application-prefer-dark-theme and set it to 0. Restart TB.

Please close the bug when you've sorted this out.

Didn't help. I selected the light theme in TB, created and set gtk-application-prefer-dark-theme to 0 (integer), and restarted TB. The folder pane and the message overview pane are still white font and black background.

The light theme doesn't style everything like the dark theme. Firefox is the same.

So we need to add more colours to the light theme to look light when the system has a dark theme.

Status: UNCONFIRMED → NEW
Ever confirmed: true

This would fix the issue.

Unfortunately this would remove the vibrancy effect of the trees on Mac.

Geoff, is it possible to differ in the manifest file between platforms and only add the new colour definitions to Linux and Windows? Or is it somehow possible to do this in the moz.build file?

Assignee: nobody → richard.marti
Flags: needinfo?(geoff)

You could run it through the pre-processor by listing it in EXTRA_PP_JS_MODULES instead of EXTRA_JS_MODULES.

What is this vibrancy effect you speak of?

Flags: needinfo?(geoff)

(In reply to Geoff Lankow (:darktrojan) from comment #8)

What is this vibrancy effect you speak of?

The tree background has a transparent milk glass effect.

Thanks, this now uses the preprocessor.

Best you test it on Linux with a dark system theme and set the light theme. This should now set the correct colours for the trees. On Calendar are some parts not light but this is bug 1579411.

Alessandro, for the selected treeitem I've chosen #2292d0 like we already use for the in-content checkmarks and radio buttons. Or do yu want that I use #0a84ff or #0060df which are used for the selected category in the prefs or the Add-ons manager?

Geoff, please can you check the calendar CSS changes?

Attachment #9091292 - Attachment is obsolete: true
Attachment #9091473 - Flags: review?(geoff)
Attachment #9091473 - Flags: review?(alessandro)
Comment on attachment 9091473 [details] [diff] [review]
1577591-light-theme-full-colors.patch

Review of attachment 9091473 [details] [diff] [review]:
-----------------------------------------------------------------

This looks okay to me.
Attachment #9091473 - Flags: review?(geoff) → review+
Comment on attachment 9091473 [details] [diff] [review]
1577591-light-theme-full-colors.patch

Review of attachment 9091473 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.
Attachment #9091473 - Flags: review?(alessandro) → review+
Keywords: checkin-needed
Attachment #9091473 - Flags: approval-comm-esr68?
Attachment #9091473 - Flags: approval-comm-beta?
Comment on attachment 9091473 [details] [diff] [review]
1577591-light-theme-full-colors.patch

70 beta 1 and 68.1 were build last night, so I'm really hoping not to do any release for at least 10 days now.
Attachment #9091473 - Flags: approval-comm-esr68?
Attachment #9091473 - Flags: approval-comm-esr68+
Attachment #9091473 - Flags: approval-comm-beta?
Attachment #9091473 - Flags: approval-comm-beta+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/d37caf20cf1f
[Light theme] Set theme colors for the trees on Linux and Windows too. r=aleca,darktrojan DONTBUILD

Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 71.0

In the last 78.2.1 version of TB for Windows I still see that the dark theme elements are preset when using the light theme: eg, when I click on customise toolbar in the composing email window I see BLACK spaces and solid borders https://prnt.sc/uc64ii, the same issues with the customise toolbar in the main window https://prnt.sc/uc64vs.

Is it possible completely disable dark theme in TB?

In the last 78.2.1 version of TB for Windows I still see that the dark theme elements are preset when using the light theme: eg, when I click on customise toolbar in the composing email window I see BLACK spaces and solid borders https://prnt.sc/uc64ii, the same issues with the customise toolbar in the main window https://prnt.sc/uc64vs.

Is it possible completely disable dark theme in TB?

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

Attachment

General

Creator:
Created:
Updated:
Size: