Ubuntu 9.04 - Firefox menu font does not inherit color from gnome theme

Bug #366790 reported by liquidpele
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: firefox

I set my theme to a dark theme, and the firefox top level menu options stay black and are barely readable.

I tried changing the userChrome.css file for Firefox to override the color, but it uses the same color for both the top level menu and submenus, so since the background of the drop down is lighter no matter what color I make the font it looks bad somewhere. Not sure why firefox is not inheriting the font colors from the gnome theme.

Reproduce:
1) Turn on the "New Wave" theme in appearances
2) Start firefox, see the font is black there but white everywhere else.

See screenshot, and not the color of the menu font in the terminal window vs firefox.

Revision history for this message
liquidpele (liquidpele) wrote :
Revision history for this message
Jesper de Jong (jespdj) wrote :

What exactly did you put in your userChrome.css? I am also using the New Wave theme, and this works well for me:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

menubar > menu {
 color: white !important;
}

menubar > menu[open] {
 color: black !important;
}

Revision history for this message
Jesper de Jong (jespdj) wrote :

I just discovered that the New Wave theme comes with a userChrome.css included to fix this issue.

You can find it in the directory: /usr/share/themes/New Wave
(note the space in the directory name).

You just have to copy it to the right place (~/.mozilla/firefox/<profile name>/chrome).

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this issue to Ubuntu. Does the posted solution solve your problem?

affects: firefox (Ubuntu) → firefox-3.0 (Ubuntu)
Changed in firefox-3.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Jesper de Jong (jespdj) wrote :

The solution that I posted above solves the problem for me. Why is this bug being set to "Incomplete"? Do you need more information? It's clear what the problem is and how it should be solved...

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 366790] Re: Ubuntu 9.04 - Firefox menu font does not inherit color from gnome theme

Jesper de Jong wrote:
> The solution that I posted above solves the problem for me. Why is this
> bug being set to "Incomplete"? Do you need more information? It's clear
> what the problem is and how it should be solved...
>

Of course it solves your problem, but the question is if it solves the
problem of the submitter of the issue.

Revision history for this message
crepi (crepi22) wrote :

This is a real bug in Firefox. Playing with chrome.css could be a workaround not a solution.

Compare firefox and the file browser or Rythmbox or whatever on the Wave theme.
For a given element, either an application inherits the background AND the foreground from the theme or it inherits none of them.
Applies to 9.10 too (firefox 3.5).

Revision history for this message
crepi (crepi22) wrote :

ok: I found the "official" solution. It is an expected behaviour, and I must use the "new wave" add-on for Firefox...

Revision history for this message
liquidpele (liquidpele) wrote :

Actually this magically fixed itself at some point.. I'm on 9.10 now and firefox's menus seem to be using the theme. Go figure. Can anyone else confirm that this is fixed for them without any work arounds as well?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for firefox-3.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in firefox-3.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.