App menus aren't shown in the panel if the app is also exporting menus via dbusmenu

Bug #999827 reported by vmc
132
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Application Menu Indicator
Confirmed
Medium
Unassigned
indicator-appmenu (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This happens for nautilus, which exposes an application menu but still uses GtkMenu for window menus. This makes all application actions inaccessible (New Window, Connect to Server, Preferences, About, Help and Quit).

From a new install :

quantal-desktop-amd64.iso 15-May-2012 08:42 711M

Tags: bot-comment
vmc (vmclark)
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/999827/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nautilus (Ubuntu)
summary: - Quantal Nautilus misssing Preferences
+ Quantal Nautilus missing Preferences
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Quantal Nautilus missing Preferences

Thank you for your bug report, could you make a screencast of what happens when you try to open the preferences dialog?

Changed in nautilus (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Changed in nautilus (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
sojourner (itsmealso2) wrote :

here is a screenshot .

Revision history for this message
Sebastien Bacher (seb128) wrote :

oh, that's about quantal, to check by somebody who is already running that I guess...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Robert, you did the update, could you check on that?

Changed in nautilus (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Robert Ancell (robert-ancell) wrote :

These items were moved into an application menu, but it appears that Unity is not correctly showing this menu with the normal menu.

Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Robert Ancell (robert-ancell) wrote :

You can see the correct behaviour in GNOME shell or in Unity with:
$ killall nautilus
$ UBUNTU_MENUPROXY= nautilus

Revision history for this message
Robert Ancell (robert-ancell) wrote :

I am told indicator-application is responsible for this menu trickery. Leaving the nautilus task open as it looks like a nautilus bug to users.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-application (Ubuntu):
status: New → Confirmed
Revision history for this message
AO (aofrl10n) wrote :

I fail to understand where the "Preferences" are supposed to be now. Running $ killall nautilus $ UBUNTU_MENUPROXY= nautilus doesnt change anything. For example, where am I supposed to set One click behavior now?

affects: indicator-application (Ubuntu) → indicator-appmenu (Ubuntu)
Changed in indicator-appmenu (Ubuntu):
importance: Undecided → High
summary: - Quantal Nautilus missing Preferences
+ Quantal Nautilus missing Preferences (incorrect handling of appmenu and
+ menu used together)
summary: - Quantal Nautilus missing Preferences (incorrect handling of appmenu and
- menu used together)
+ Nautilus missing Preferences (incorrect handling of appmenu and menu
+ used together)
Changed in nautilus (Ubuntu):
importance: Low → High
Changed in indicator-appmenu:
status: New → Confirmed
importance: Undecided → High
Jeremy Bícha (jbicha)
Changed in nautilus (Ubuntu):
assignee: Robert Ancell (robert-ancell) → nobody
Revision history for this message
Lars Karlitski (larsu) wrote : Re: Nautilus missing Preferences (incorrect handling of appmenu and menu used together)

Nautilus has gained an application menu, which is implemented with gmenumodel. Its window menus are still using GtkMenuBar, which gets picked up by the ubuntu-menuproxy plugin and exported with dbusmenu.

indicator-appmenu can handle both dbusmenu and gmenumodel, but as far as I can see not both at the same time. That means, applications need to export all their menus using either gmenumodel or dbusmenu. indicator-appmenu seems to favor dbusmenu, which is why only nautilus' window menus are visible in the panel.

Does somebody know when nautilus is planned to use gmenumodel for everything? Are there any other applications in this indermediate state?

summary: - Nautilus missing Preferences (incorrect handling of appmenu and menu
- used together)
+ App menus aren't shown in the panel if the app is also exporting menus
+ via dbusmenu
Lars Karlitski (larsu)
description: updated
Revision history for this message
Doug McMahon (mc3man) wrote :

The preferences menu is showing up in an ubuntu session with the current nautilus git by clicking on "Home Folder" in the unity panel
(- along with - New Window, Connect to Server, About Files, Help & Quit.
All of the other menu items now reside in the toolbar cog inc. Bookmarks, so it looks like Ubuntu may have some adapting to do..

Revision history for this message
Colin Law (colin-law) wrote :

For anyone looking for a workaround it appears that the missing nautilus items (new window, preferences etc) are accessible via the HUD.

Revision history for this message
Colin Law (colin-law) wrote :

Does this bug also cause most of the nautilus menu items not to be available via the HUD, or is that a separate bug? Virtually none of them work for me.

affects: nautilus (Ubuntu) → gnome-settings-daemon (Ubuntu)
no longer affects: gnome-settings-daemon (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Colin: not sure about the hud issues but I just uploaded a gnome-settings-daemon update that should work around the menu items missing (like preferences)

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I believe this problem is also the root problem for missing menu items in Totem 3.5.90. Currently, Totem 3.5.90 is in the GNOME3 PPA for Quantal. Totem is providing both the new GNOME App Menu and the traditional File Edit View menus. Unity shows the GNOME menu but not the traditional menu.

The workaround to run UBUNTU_MENU_PROXY= totem works.

I believe Nautilus 3.6 no longer suffers from this bug as they've moved their menus to the new view and "gear" toolbar menu buttons.

Ted Gould (ted)
Changed in indicator-appmenu:
assignee: nobody → Ted Gould (ted)
Changed in indicator-appmenu (Ubuntu):
assignee: nobody → Ted Gould (ted)
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Seems to no longer be relevant to Nautilus in 12.10 (as of the time of writing), which is v 3.4.2.

Revision history for this message
Ted Gould (ted) wrote :

It seems that there are no apps doing this except EOG which has all the same entries in the window menus. So this isn't as important. We'll reevaluate as applications change and get modified.

Changed in indicator-appmenu:
importance: High → Medium
Changed in indicator-appmenu (Ubuntu):
importance: High → Medium
Changed in indicator-appmenu:
assignee: Ted Gould (ted) → nobody
Changed in indicator-appmenu (Ubuntu):
assignee: Ted Gould (ted) → nobody
assignee: nobody → Ted Gould (ted)
assignee: Ted Gould (ted) → nobody
Revision history for this message
Francewhoa (francewhoa) wrote :

Confirming this issue with Ubuntu LTS 12.04.1, 32bits

Revision history for this message
Robert Ross (robertross) wrote :

I have just encountered this same issue. 12.04.1, 32bit

Revision history for this message
Allison Karlitskaya (desrt) wrote :

fwiw: this will be fixed when unity-gtk-module lands.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

note also: unity-gtk-module is pretty much ready to land but it didn't make feature freeze, so I guess it will be landing early in 'S'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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