Closed Bug 1732761 Opened 4 years ago Closed 4 years ago

tooltips (title text) unreadable in dark theme mode

Categories

(Core :: Widget: Gtk, defect)

Firefox 92
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: kolAflash, Unassigned)

Details

Attachments

(1 file)

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

Steps to reproduce:

In about:config set
ui.systemUsesDarkTheme = 1
OS: Debian-11 (Bullseye)
Firefox: https://ftp.mozilla.org/pub/firefox/releases/92.0.1/linux-x86_64/de/firefox-92.0.1.tar.bz2

Actual results:

Dark theme works in general, but tooltips (title texts) are unreadable, because text and background color are very light.
Try it just here on bugzilla.mozilla.org. Simply hover over the "New Bug" button.

Expected results:

Tooltip background should be dark.
(with light theme the text is black, but it's switched to white when enabling the dark theme)

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

(In reply to kolAflash from comment #0)

In about:config set
ui.systemUsesDarkTheme = 1

Don't do this. If you want to override the prefers-color-scheme value for websites use layout.css.prefers-color-scheme.content-override instead. Changing the ui pref causes us to choose the wrong color-scheme for system colors in chrome code, which causes the effect you're seeing.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: