Firefox menus don't hold the "Menu" window class

Bug #115798 reported by Didier L
6
Affects Status Importance Assigned to Milestone
beryl-settings (Ubuntu)
Invalid
Undecided
Unassigned
firefox (Ubuntu)
Invalid
Undecided
Mozilla Bugs

Bug Description

Binary package hint: firefox

All the menus in Firefox hold the "Unkown" window class instead of "Menu", "DropdownMenu" or "PopupMenu". I noticed this as I configured Beryl (0.2.1 under Ubuntu Feisty - Gnome 2.18.1) to display menus with an opacity of 90%, and this does not affect Firefox menus.

Changed in firefox:
assignee: nobody → mozilla-bugs
Revision history for this message
John Vivirito (gnomefreak) wrote :

Does this happen without beryl running? I am unable to reproduce this without beryl running.What version of firefox are you using. Can you please attach a screen shot of the issue you are having.

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please provide a step by step set of instructions on how to reproduce this issue se we can test.

Revision history for this message
Didier L (l-farquaad) wrote :

I made a little mistake: it's the "window type" and not the "window class" that is incorrect.

I don't know how to check this outside beryl... I suppose this is a property that might affect the behaviour of the window manager (but not necessarily) and I don't know how Metacity is affected by it...

I don't know exactly how the "window class" property works (I suppose the software chooses it so it is independent of beryl, isn't it ?) and how to retrieve it without the beryl settings manager. With that tool, go in "window management", "Set Window Attribs by various criteria" then choose "Window Opacity", click on the [+] button, select "Window Type" in the select box, type "DropDownMenu" in the text field and choose some value for the opacity. Do the same for "Menu" and "PopupMenu" window types. Now open some Gnome software (gnome-terminal for example) and open a menu (for example the "File" menu or the right-click one): it's transparent. You can also check that the "Applications" menu in the gnome-panel is also transparent, as any other menu in the system (including those in Windows softwares running under Wine I think !). But Firefox's menus are not ! Now if you set some transparency for "Unknown" window type (in Beryl Settings Manager), Firefox's menus will become transparent too...

For the screenshot you ask, I don't know how to open 2 menus at the same time so that it would be possible to show both on the same screenshot... Is it really useful ?

I'm under Ubuntu Feisty so I use Firefox 2.0.0.4.

Revision history for this message
John Vivirito (gnomefreak) wrote :

quit beryl turn it off from starting when gnome starts. log out than hit ctrl+alt+backspace than log back in try to reproduce this.

This part "then choose "Window Opacity", click on the [+] button," isnt a choice in metacity, if i missed it please let me know but that is stricktly beryl/compiz that allows you to do that.
Please follow the steps i gave you and let me know what happens.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Rejecting due to this not being a firefox issue. Its more than likely a beryl issue and even if it isnt it is a gtk issue not firefox.

Changed in firefox:
status: Needs Info → Rejected
Revision history for this message
Didier L (l-farquaad) wrote :

I don't understand well what you are asking me to do... Opacity is effectively only managed by composite managers (i.e. Beryl or Compiz), so I cannot test such a thing with Metacity, and I don't know what else I could test with it...

I don't think it is a Beryl issue as only Firefox is affected (however I didn't test with Thunderbird). Perhaps is this a firefox-gnome-support bug ?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Ok What version of beryl are you using and where did you get it from? did you build it yourslef if so what build options did you use?
Addiung firefox task again till we figure this out.

Changed in firefox:
status: Rejected → Needs Info
Revision history for this message
William Grant (wgrant) wrote : Beryl has been removed from Gutsy

Beryl is replaced by Compiz Fusion, so has been removed from Gutsy.

  status invalid
  subscribe

Changed in beryl-settings:
status: New → Invalid
Changed in firefox:
status: Incomplete → Invalid
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.