[panel] application menu not visible (on natty)

Bug #706183 reported by Felix Yan
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Critical
Aurélien Gâteau
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

no appmenu-applet shown, when I moved my mouse over the title text on the unity-2d panel, there's nothing happened.
no indicator-applet-appmenu process running either.
what's the problem?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity-2d-panel 3.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-12.26~ppa3-lowlatency 2.6.37
Uname: Linux 2.6.37-12-lowlatency x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Jan 22 12:26:15 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: unity-2d

Revision history for this message
Felix Yan (felixonmars) wrote :
Revision history for this message
Johan Kiviniemi (ion) wrote :

panel/applets/indicator/indicator.c:380:

  const gchar *indicator_names[] = { "application", "messaging", "soundmenu", "datetime", "me", "session", 0 };

Perhaps that’s the problem.

Revision history for this message
Johan Kiviniemi (ion) wrote :

If I add appmenu to that array, unity-2d-panel crashes with the message “Indicator-Appmenu-ERROR **: Unable to claim the name com.canonical.AppMenu.Registrar”.

Revision history for this message
Florian Boucault (fboucault) wrote :

@Johan: as discussed over IRC, the appmenu should appear already without code change or addition to the indicators list. The bug is somewhere else.

Changed in unity-2d (Ubuntu):
status: New → Confirmed
Changed in unity-2d:
importance: Undecided → Critical
status: New → Confirmed
milestone: none → 3.4
assignee: nobody → Aurélien Gâteau (agateau)
summary: - unity-2d panel appmenu applet not work
+ [panel] application menu not visible
summary: - [panel] application menu not visible
+ [panel] application menu not visible (on natty)
Revision history for this message
Aurélien Gâteau (agateau) wrote :

Some information about the bug:
- It works for Qt applications
- First problem is that at least for me, the UBUNTU_MENUPROXY environment variable is not set, preventing the appmenu-gtk gtk module from being loaded
- Second problem is that, once the variable is set, it still does not work. I suspect this is because the new GVariant-based libdbusmenu-gtk (which is used by appmenu-gtk) is broken: it does not correctly implement the GetChildren() method.

Still investigating...

Revision history for this message
Aurélien Gâteau (agateau) wrote :

It turns out the UBUNTU_MENU proxy problem only occurs when using kdm, so it's probably a separate issue.

Revision history for this message
Felix Yan (felixonmars) wrote :

The bug occurs even if I use gdm as well as kdm; as gnome-keyring and many many others not working well in kdm, I have to switch back to gdm.

Revision history for this message
Felix Yan (felixonmars) wrote :

After upgrading appmenu-gtk to 0.1.91-0ubuntu1 today, appmenu for gtk now works properly on unity-2d, but QT appmenus now shows in the application window not applying global-menu settings.

Revision history for this message
Johan Kiviniemi (ion) wrote :

Something fixed (Gtk) appmenus for me, too. Among the upgraded packages were indicator-appmenu, appmenu-gtk and unity-2d-panel.

Keyboard shortcuts such as F10 and alt-f don’t do anything, though, and the menu items don’t have anything underlined. But that’s a separate bug.

Revision history for this message
Felix Yan (felixonmars) wrote :

But if switched to unity 3d and then switched back, the appmenu will not work any more. Repeated such operations and got same results.

Revision history for this message
Florian Boucault (fboucault) wrote :

I can confirm Felix's observation:

"[...] QT appmenus now shows in the application window not applying global-menu settings."

Revision history for this message
Aurélien Gâteau (agateau) wrote :

Bug was in libdbusmenu-gtk. It is fixed in libdbusmenu-gtk 0.3.94.

Changed in unity-2d:
status: Confirmed → Fix Released
Changed in unity-2d (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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