After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 564864 - Plugin Menu Items are an unordered list
Plugin Menu Items are an unordered list
Status: RESOLVED DUPLICATE of bug 603128
Product: nautilus
Classification: Core
Component: Scripts facilities
2.24.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-17 15:11 UTC by Pedro Villavicencio
Modified: 2009-12-04 11:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Minimal test case (583 bytes, text/plain)
2009-01-16 21:40 UTC, Adam Plumb
Details
Minimal test case (583 bytes, text/x-python)
2009-01-16 21:43 UTC, Adam Plumb
Details

Description Pedro Villavicencio 2008-12-17 15:11:59 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/nautilus/+bug/276157

"Installing any number of plugins which as nautilus image plugin or bzr-gtk will quickly show that each right click menu has it's own and distinctive menu ordering for each of these plugins.

What is happening is that these plugins are being processed and their results are not being stored as a set list. This means that the menu location is unpredictable and the more plugins installed the worse it would get.

This is a bad behaviour and it will disrupt the design flow and constancy of nautilus. If this problem can be fixed in some way by the plugins themselves, I can't find it. So it seems to be a nautilus bug.

STR: Install a number of plugins including the image plugin, right click on an image, now right click an image and a sound file. The menu items are still there, but (at least on my machine) the resize and rotate options have switched places."

Thanks,
Comment 1 Adam Plumb 2009-01-16 18:59:14 UTC
I'm working on the NautilusSvn project (http://code.google.com/p/nautilussvn) and I experience a very similar issue with our extension.  I'm running Ubuntu 8.10, btw.

If we have multiple context menu items that are sometimes shown and sometimes not, depending on the status of the selected file(s), then the ordering of the menu items will change in a seemingly random way.  

So, say I click on a file with "normal" status.  It will show a menu like ['Item A', 'Item B', 'Item C'].  It seems if I click another file with a "normal" status, the menu will appear the same.  But if I then click a "modified" file, then menu may show something like ["Item D", "Item C", "Item A"] (it should be a little different, but it should appear A, C, D).  Then, if I click back to the original "normal" item, that menu will now appear like ["Item C", "Item A", "Item B"].  This mis-ordering then appears on every "normal" menu in a non-random way (i.e. it is mis-ordered but the same for every "normal" menu).

You can see our actual extension code here: http://code.google.com/p/nautilussvn/source/browse/branches/v0.12/nautilussvn/lib/extensions/nautilus/NautilusSvn.py?spec=svn610&r=610
Comment 2 Adam Plumb 2009-01-16 21:40:01 UTC
Created attachment 126614 [details]
Minimal test case

Put the attached file in your ~/.nautilus/python-extensions folder.  Then type:
nautilus -q && nautilus --no-desktop in the command line (make sure nautilus is closed beforehand)
Comment 3 Adam Plumb 2009-01-16 21:43:11 UTC
Created attachment 126615 [details]
Minimal test case

Put the attached file in your ~/.nautilus/python-extensions folder.  Then type:
nautilus -q && nautilus --no-desktop in the command line (make sure nautilus is closed beforehand)
Comment 4 Adam Plumb 2009-01-16 21:44:43 UTC
Looks like a hiccup with the uploader.  I also wanted to point to a link I found doing some searching, which points to a similar bug...

http://www.grumz.net/?q=node/155
Comment 5 Adam Plumb 2009-12-03 18:42:38 UTC
Good news, this should be fixed as of GTK+ 2.18.4.  See this bug report filed by Alexander Larsson.  

https://bugzilla.gnome.org/show_bug.cgi?id=603128
Comment 6 Cosimo Cecchi 2009-12-04 11:42:14 UTC
Ok, let's mark this as a duplicate then.

*** This bug has been marked as a duplicate of bug 603128 ***