Lack of global menu and right-click menu with Nautilus

Bug #945097 reported by ojordan
This bug report is a duplicate of:  Bug #961512: gresource is broken on powerpc. Edit Remove
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Undecided
Unassigned
appmenu-gtk (Ubuntu)
Invalid
Low
Unassigned
gtk+3.0 (Ubuntu)
Confirmed
Low
Unassigned
nautilus (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When running Nautilus I don't have a global menu. I also don't have a right-click menu when I hover the mouse pointer over a file icon. The only menus I can get out of Nautilus is the window title right-click and right-clicking on the Devices/Computer/Network listing on the left hand side of the Nautiuls window.

It makes doing anything with Nautilus very hard indeed.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nautilus 1:3.3.90-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.27-powerpc 3.2.6
Uname: Linux 3.2.0-17-powerpc ppc
ApportVersion: 1.93-0ubuntu2
Architecture: powerpc
Date: Fri Mar 2 20:01:31 2012
GsettingsChanges: org.gnome.nautilus.window-state geometry '800x550+0+28'
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta powerpc (20120228.1)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

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

Thank you for your bug report, do you get the issue all the time? Is that still happening with the recent updates? Is it similar to the video on bug #945157?

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

Hi Sebastien, thanks for the interest in the problem. Sorry I've been a bit slow replying to you - I've been a way.

Yes the problem was happening all the time. It works on an old 12.04 daily CD I have, but I haven't downloaded a recent one yet. I'm testing all the PowerPC *ubuntus and am about to go back to stock Ubuntu so I'll let you know if a recent update has fixed it.

The problem is slightly different to the video. I don't even get the File Edit etc.

Revision history for this message
ojordan (ojordan12345) wrote :

I've just done a fresh install from todays alternate CD (14 March) and the problem is still there I'm afraid. The global menu worked the first time I opened Nautilus, but I haven't managed to get it back. Rebooted several times and still no joy. I also don't have a right click menu as described in the original post.

Changed in nautilus (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
drossbox (drossbox) wrote :

Hello, the same bug exists for me ... but I never had a menu I could use.

strace says that there are some powerpc specific libraries for the rendering engine behind missing:

(... sure, more accesses... only a cutout of strace nautilus)

access("/usr/lib/powerpc-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/powerpc-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/powerpc-linux-gnu/gtk-3.0/powerpc-unknown-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/powerpc-linux-gnu/gtk-3.0/powerpc-unknown-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/powerpc-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = 0
stat64("/usr/lib/powerpc-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", {st_mode=S_IFREG|0644, st_size=22072, ...}) = 0
open("/usr/lib/powerpc-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", O_RDONLY|O_CLOEXEC) = 6

(...)

maybe that's the problem?

Revision history for this message
drossbox (drossbox) wrote :

Also, the same problem exists when launching gedit!!!
But gedit fails with critical errors and doesn't startup.

what I did:
echo "" > ~/.xsession-errors
nautilus
> cp .xsession-errors to the attached file.

Revision history for this message
drossbox (drossbox) wrote :

@seb128 No, the bug is not related to the other one - because even no single menu item (or a bar with description) appears at the top. So there are no "top menu" items you could select.

Revision history for this message
drossbox (drossbox) wrote :

Okay, did some further testing. Having Gnome Shell + the old ("classic") Gnome running here. Same here, only nautilus and gedit have no menus. All other programs work fine.

Revision history for this message
ojordan (ojordan12345) wrote :

@drossbox Yeah I noticed last night that gedit doesn't have a global menu either. I've got xubuntu-desktop installed too and that is when I noticed there was a problem with gedit (it starts for me). Nautilus doesn't have menus under xubuntu too.

I'm wondering if some setting in ./config/menus is the culprit (from googling), but haven't had time to look into it yet.

Revision history for this message
ojordan (ojordan12345) wrote :

Quick update. So there is no ./config/menus directory. I did try deleting the ./config directory which is some other advice I found. I also tried setting various environment variables.

I did get the nautilus global menu working once more. Still no right-click menu on the file icons, but right-clicking on the space inbetween gave a small menu. Clicking on preferences in the Edit global menu caused nautilus to close and I haven't had menus since. I can't find how to get them back again. Grrr.... Oh and gedit didn't have menus, even when nautilus did.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/945097

tags: added: iso-testing
Revision history for this message
drossbox (drossbox) wrote :

Maybe a dev is able to join the conversation? How can we help to fix the bug?
I mean, it seems as the bug affects any nautilus user - couldn't imagine that it's dependend on powerpc architecture.

Revision history for this message
ojordan (ojordan12345) wrote :

The importance has also been marked as 'low' which is kind or annoying. Without menus nautilus is pretty useless.

I'd imagine this is some generic bug, but there is something about the PowerPC install that is bringing it to light more often.

Revision history for this message
ojordan (ojordan12345) wrote :

FYI, I can't even copy and paste using keyboard shortcuts. I suppose shortcuts are linked to the menus.

Revision history for this message
ojordan (ojordan12345) wrote :

Running nautilus --check gives:

nautilus --check
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
running nautilus_self_check_directory

Gtk-WARNING **: Theme parsing error: misc.css:13:17: Not using units is deprecated. Assuming 'px'.

Gtk-WARNING **: Theme parsing error: misc.css:15:16: Not using units is deprecated. Assuming 'px'.

Gtk-WARNING **: Theme parsing error: misc.css:16:11: Not using units is deprecated. Assuming 'px'.
running nautilus_self_check_file
running nautilus_self_check_icon_container
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
running nautilus_self_check_directory
running nautilus_self_check_file
running nautilus_self_check_icon_container

Revision history for this message
ojordan (ojordan12345) wrote :

This is the xsession errors when I stard nautilus from xubuntu:

Gtk-WARNING **: Theme parsing error: misc.css:13:17: Not using units is deprecated. Assuming 'px'.

Gtk-WARNING **: Theme parsing error: misc.css:15:16: Not using units is deprecated. Assuming 'px'.

Gtk-WARNING **: Theme parsing error: misc.css:16:11: Not using units is deprecated. Assuming 'px'.
Initializing nautilus-gdu extension

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_widget_set_hexpand: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_toolbar_set_icon_size: assertion `GTK_IS_TOOLBAR (toolbar)' failed

Gtk-CRITICAL **: gtk_widget_get_style_context: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_style_context_add_class: assertion `GTK_IS_STYLE_CONTEXT (context)' failed

Gtk-CRITICAL **: gtk_widget_get_style_context: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_style_context_add_class: assertion `GTK_IS_STYLE_CONTEXT (context)' failed

Gtk-CRITICAL **: gtk_widget_set_name: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_WIDGET (child)' failed

Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_toolbar_insert: assertion `GTK_IS_TOOLBAR (toolbar)' failed

Gtk-CRITICAL **: gtk_widget_set_visible: assertion `GTK_IS_WIDGET (widget)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Last error repeated loads of times!!!!

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Last error repeated loads of times!!!!

Revision history for this message
ojordan (ojordan12345) wrote :

These are the xsession erros when I right-click on a file:

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_menu_set_screen: assertion `GTK_IS_MENU (menu)' failed

Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed

Eel-CRITICAL **: eel_pop_up_context_menu: assertion `GTK_IS_MENU (menu)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 870742, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
ojordan (ojordan12345) wrote :

How can it be a duplicate of that bug? The xsession error is different and none of the 62 people affected by that bug describe any symptoms of lacking menus.

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

could you run those command and copy the output there:
dpkg -l | grep appmenu
echo $UBUNTU_MENUPROXY
echo $XDG_CURRENT_DESKTOP

what desktop environment do you use?

Changed in appmenu-gtk (Ubuntu):
status: New → Invalid
importance: Undecided → Low
Changed in nautilus (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
ojordan (ojordan12345) wrote :

Hi Sebastien,

I've booted up a Ubuntu live beta 2 release candidate CD as I'm going to run the testcases on it. Here is the output of the commands:

ubuntu@ubuntu:~$ dpkg -l | grep appmenu
ii appmenu-gtk 0.3.91-0ubuntu1 Export GTK menus
ii appmenu-gtk3 0.3.91-0ubuntu1 Export GTK menus
ii appmenu-qt 0.2.5-0ubuntu1 appmenu supportt
ii firefox-globalmenu 11.0+build1-0ubuntu1 Unity appmenu ix
ii indicator-appmenu 0.3.95-0ubuntu2 Indicator for a.
ii thunderbird-globalmenu 11.0+build1-0ubuntu1 Unity appmenu id
ubuntu@ubuntu:~$ echo $UBUNTU_MENUPROXY
libappmenu.so
ubuntu@ubuntu:~$ echo $XDG_CURRENT_DESKTOP
Unity
ubuntu@ubuntu:~$

I can install any desktop environment you like if it helps testing of this problem.

I'll attach a screenshot too!

Thanks

Revision history for this message
ojordan (ojordan12345) wrote :

In the picture you can see the mouse pointer is where I would expect a menu.

Also, the black bar where 'Search' is written has in the past come and gone a bit randomly. I don't know if that is related to the menu problem too.

Changed in nautilus (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
drossbox (drossbox) wrote :

I took a look at the other bug, but this a complete different one from the problems described here.
Same as jordan, I have the identical GTK error appearing all the time when right-clicking and / or trying shortcuts for opening the menus. Menus still not shown. Initial "launch" of nautilus shows the same errors:

"Gtk-CRITICAL **: gtk_image_menu_item_set_always_show_image: assertion `GTK_IS_IMAGE_MENU_ITEM (image_menu_item)' failed"

...seems to be the error to go for.

Revision history for this message
ojordan (ojordan12345) wrote :

I've tried uninstalling appmenu-gtk and appmenu-gtk3, but this doesn't make the menus reappear in the nautilus window like it does for other applications. I think we can discount them as the problem? Would these be involved in the missing right-click menu anyway?

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

the screenshot is an unity-2d one, seems like a bug there rather

affects: nautilus (Ubuntu) → unity-2d (Ubuntu)
Revision history for this message
drossbox (drossbox) wrote :

Sebastien... nope, as I said couple times, it's GTK related. Same over here with Gnome Classic AND XFCE.

Revision history for this message
drossbox (drossbox) wrote :

Here's the stacktrace of nautilus

(did run via killall nautilus && strace nautilus &> file.txt)

ojordan (ojordan12345)
no longer affects: unity-2d
Revision history for this message
ojordan (ojordan12345) wrote :

Argh, I can't work launchpad. I wanted to add this bug to gtk3.0 like this bug https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/919800

I agree with drossbox, I don't think this is a unity-2d bug. It is either a problem with gtk or nautilus is using the gtk libraries incorrectly.

Either way, it would be helpful for the nautilus people to help us track the problem down. This bug will stop the Precise PowerPC Ubuntu ISOs from being released. I am unwilling to pass them with this bug - you can't have a distribution without a working file manager.

Revision history for this message
ojordan (ojordan12345) wrote :

This is not a unity-2d bug. I have the same problems in lubuntu - an installation that has never had a sniff of unity-2d.

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

nautilus upstream has nothing to do with that and lubuntu is not supposed to have global menus, not sure what is wrong with your installation

Changed in nautilus:
status: New → Invalid
Revision history for this message
ojordan (ojordan12345) wrote :

Sebastien, this is getting very frustrating. The title of this bug is "Lack of global menu and right-click menu with Nautilus". Note the right-click menu is missing. When not in unity/unity-2d I would expect a normal application menu. This is missing. Please stop being fixated on the global menu part.

This is not a problem with unity-2d.

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

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

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Right, that bug is very frustrating because it mixes confusing comments which seem to describe different issues as well... anyway back on the topic it seems you both are the only ones to get the issue and both use powerpc, I guess it's somewhat a powerpc issue, could one of you get a stacktrace of those warning using gdb?

no longer affects: unity-2d (Ubuntu)
Changed in nautilus (Ubuntu):
importance: Undecided → Low
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Low
Revision history for this message
drossbox (drossbox) wrote :

Most threads are only polling stuff when using bt, so dunno which frame you want to have dumped or if it makes sense.

Here's the gdb nautilus &> nautilus_gdb.txt, and simply "run" after it.

Revision history for this message
ojordan (ojordan12345) wrote :

I've been playing around, installing old versions of nautilus. I think the last good working nautilus was 1:3.2.1-2ubuntu12. It all goes wrong from 1:3.3.4-0ubuntu1. Don't know if that helps?

Revision history for this message
ojordan (ojordan12345) wrote :

From the changelog of nautilus 3.3.4-0ubuntu1:

  * debian/nautilus-data.install:
    - updated, ui and icons have been moved into gresources

From the changelog of gedit 3.3.5-0ubuntu1(where it goes wrong for gedit)

  * debian/control.in: Bump minimum GTK to 3.3.15
    for switch to GResource
  * debian/gedit-common.install: Drop ui install

Is this Gresource/ui thing the problem?

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.