Menu broken in Ubuntu 11.10

Bug #874334 reported by Adam Laughlin
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
Unassigned

Bug Description

Fresh install of Ubuntu 11.10, fresh install of Midori. The menu does not appear in Unity's "global menu" anymore, just the application name. Menu does work in application window instance.

Tags: menubar unity
Revision history for this message
Cris Dywan (kalikiana) wrote :

I've given this another stab, it's quite odd. I tested if it works with a different menubar or changing how the menubar is shown, it doesn't. It looks like I'll have to do some bisecting.

Changed in midori:
status: New → Confirmed
importance: Undecided → High
tags: added: menubar unity
Revision history for this message
Cris Dywan (kalikiana) wrote :

I solved the mystery. I'll put it mildly by saying I'm not amused. Midori is blacklisted in the menu proxy code with nobody coming forward and no reasoning, except users suddenly coming to us to complain about that "bug".

You can work-around it with the following steps; once each for GTK+ 2 and GTK+ 3:
sudo vim /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
/Midori<return>
rX
ZZ
sudo vim /usr/lib/gtk-3.0/3.0.0/menuproxies/libappmenu.so
/Midori<return>
rX
ZZ
sudo ldconfig

bug 618587 comment 46 was the basis for this trick, Eclipse is also blacklisted in that fashion.

Changed in midori:
status: Confirmed → Triaged
Revision history for this message
Cris Dywan (kalikiana) wrote :

Incidentally, menuproxy tends to kill applications running while applying the above hack, so take need be taken.

I extended KatzeArray and polished KatzeArrayAction to rule out the little bugs which apparently could lead to empty menu items in menuproxy. So menubar and menuproxy should work equally well again. Any testers are appreciated.

Changed in midori:
status: Triaged → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
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.