Open Bug 1857111 Opened 1 year ago Updated 10 months ago

Black text on black background in tabs on Linux with Adwaita and the System theme when using System Titlebar

Categories

(Thunderbird :: Theme, defect, P2)

Thunderbird 115
Desktop
Linux

Tracking

(thunderbird_esr115 affected)

Tracking Status
thunderbird_esr115 --- affected

People

(Reporter: tobias.bengfort, Unassigned)

Details

(Keywords: access, triaged)

Attachments

(2 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

Open Thunderbird on Linux with Adwaita and the System theme. Also make sure that the window has focus (the colors are fine for unfocused windows)

Actual results:

Unselected tabs have black text on very-dark background which is basically impossible to read.

Expected results:

The text should be white or light grey.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1849509
Resolution: --- → DUPLICATE
Summary: black text on black background in tabs on linux → black text on black background in tabs on Linux with Adwaita and the System theme

I don't think this is a duplicate. 1849509 is about the question how the thunderbird theme should be influenced by system settings. This is about a case in which text in thunderbird is unreadable. That is clearly a bug.

Status: RESOLVED → UNCONFIRMED
No longer duplicate of bug: 1849509
Resolution: DUPLICATE → ---

Hi, thanks for the report.
Could you please attach a screenshot without any private information?

Flags: needinfo?(tobias.bengfort)
Attached image black_on_black.png
Flags: needinfo?(tobias.bengfort)
Flags: needinfo?(richard.marti)
Assignee: nobody → richard.marti
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

I can't replicate the issue but my patch uses our own colors to not fall into this issue (I hope).

Flags: needinfo?(richard.marti)
Attachment #9360633 - Attachment is obsolete: true

I can't reproduce this. What is weird: in your screenshot is the Spaces toolbarbutton on top left white and the inactive tabs dark. We only set the colour on the #navigation-toolbox and all children inherit this colour except the active tabs. So it seems you have somehow set the inactive tab colour through userChrome.css or something.

Please give exact informations about your setup: Distro, window manager, Linux system theme (Adwaita dark or light), TB theme. And try TB in Troubleshoot mode (see Help menu).

Assignee: richard.marti → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false

I tested this with a fresh profile and noticed that issue only exists when I select "Hide system window titlebar". Maybe that does the trick? Anyway, here is the requested information:

I tried this on different setups:

  • Debian bookworm, Sway 1.7, Thunderbird 115.4.1
  • Debian bookworm, Openbox 3.6.1, Thunderbird 115.4.1
  • Ubuntu 22.04, Openbox 3.6.1, Tunderbird 115.3.1

The Thunderbird theme in all cases is "System Theme — auto".

userChrome.css is empty.

I tried setting the GTK theme with different methods (gsettings, ~/.config/gtk-3.0/settings.ini, GTK_THEME, GTK_DEBUG=interactive). None of that had an impact on thunderbird.

The issue appears when I use gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'.

I nearly forgot: troubleshoot mode didn't fix the issue either.

Thanks to Heather and instructions in comment 8 we were able to reproduce.
The key is to uncheck "Hide system window titlebar".

Richard, would you be able to check why the text on the tabs is not properly styled when using the system window titlebar?

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(richard.marti)
Keywords: access, triaged
OS: Unspecified → Linux
Priority: -- → P2
Hardware: Unspecified → Desktop
Summary: black text on black background in tabs on Linux with Adwaita and the System theme → Black text on black background in tabs on Linux with Adwaita and the System theme when using System Titlebar

Comment 8 says when I select "Hide system window titlebar" . So the system titlebar is hidden. I can't reproduce this, the tabs are always white for me. Also with the system titlebar I can't reproduce it.

Alex, when you can reproduce it, then can you check from where it gets the black tab text colour?

Flags: needinfo?(richard.marti)
Flags: needinfo?(heather)

What info can I provide to help? Here is a video showing the issue on Debian testing with GNOME and the Thunderbird 115.5.0 flatpak.

Flags: needinfo?(heather)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: