Open Bug 469300 Opened 12 years ago Updated 5 years ago

hardcoded colors invisible with some gtk themes

Categories

(Thunderbird :: Theme, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: hramrach, Unassigned)

References

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Build Identifier: version 2.0.0.18 (20081105)

There are colors which are not taken form the system them and depending on the theme colors they may be low-contrast or completely invisible.

- menu arrows, some button icons (ie the down arrow next to history back, "click to select columns to display", ..) are black. This was fixed in FireFox, you can look at thier solution

- disabled menu items, sample text in search and "click to sort by *" are gray

- links in mail header are blue

Neither of these colors are very useful with my GTK theme.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
the UI is very hard to use due to near invisible text and images

Expected Results:  
The text and images match the installed theme or include enough colors to be visible with different themes
I can only confirm the following items are difficult to see with dark GTK themes (tested with "DarkRoom", "New Wave" and "High Contrast Inverse"; all default themes in Ubuntu 9.10):

- "Click to select columns to display" button in tree list
- Disabled menu items

Both of these can be solved with the addition of text-shadow (like GTK does for disabled menu items) and a similar "glow shadow" for icons (like the columns button in tree lists).

Additionally, the menu bar text is black when the "New Wave" GTK theme is used. This uses a dark gray background on the title bar and menu bar. Native GTK applications use a bright (near white) color for menu bar text with this theme. (Bug 496454?)

All of these issues also appear in Firefox. The columns button can be found in the Certificate Manager: Edit -> Preferences -> Advanced -> Encryption -> View Certificates.

This should probably be moved to Toolkit -> Themes.
Links in mail are illegible for me. The foreground and background colors for the mail pane are configurable, the link colors should be as well. That much at least is Thunderbird-specific.
I agree, that much is Thunderbird-specific.

CC'ing a few more people to help figure out the way to go about this bug.
Component: General → Mail Window Front End
Keywords: regression
QA Contact: general → front-end
Version: unspecified → 3.0
A better way for our platform to deal with colors would be to always reference values in a centralized place so we could quickly adapt any Mozilla based app to a new OS, or OS theme.  In addition to the accessibility concerns, sprinkling hard coded colors around our code makes it really hard to mesh with the overall aesthetic of the surrounding OS.
Another one: quoted text when composing mail in plaintext seems hardcoded to dark blue; again, not good with light-on-dark color schemes.
Mass move to the new theme component.
Component: Mail Window Front End → Theme
QA Contact: front-end → theme
Still broken in

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11

invisible items include:

 - links (and probably quotes, headers, etc.)
 - black icons (as opposed to icons rendered in text color)
 - disabled menu items (and probably disabled controls in general)

fixed but working

 - Thunderbird generated HTML content like the welcome page or about page has always white background regardless of system colors but the links are visible on it then
 - colourful icons

Thanks for the CSS page link. This might help fixing some of the issues with user stylesheet but ultimately there should be UI for setting all colors not pulled from the system or such colors should be abandoned.
Duplicate of this bug: 472759
Michal, how is version 10?

(In reply to Michal 'hramrach' Suchanek from comment #8)
> Still broken in
> 
> Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.16) Gecko/20101125
> Thunderbird/3.0.11
I do not use Thunderbird anymore.
I can confirm this still happens. I am on Linux Mint with a dark system theme. I can successfuly set the background and text colours to system (so dark grey and white). However, quoted text is still dark blue and is very hard to read. There is no UI setting that I can see that can adjust this.

Also the "thread overview" when selecting an unexpanded thread is still rendered with a white background, grey text and a light blue banner at the top.
Using a Cinnamon dark theme "Android_Holo" 1st level quotes are absolutely invisible for me, because their gray is _exactly_ the same of the theme background. 

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