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 768323 - The order of entries in the Nautilus Scripts context menu is reversed
The order of entries in the Nautilus Scripts context menu is reversed
Status: RESOLVED DUPLICATE of bug 774724
Product: nautilus
Classification: Core
Component: Scripts facilities
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-03 03:38 UTC by Ariel
Modified: 2017-04-25 08:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the reverse-alphabetical ordering of scripts in Nautilus 3.24 (19.51 KB, image/png)
2017-04-24 19:23 UTC, Ronan Jouchet
Details

Description Ariel 2016-07-03 03:38:49 UTC
On Fedora 23/Nautilus 3.18.5, the entries in the "Scripts" context (sub)menu is reversed for some reason.

E.g. in my ~/.local/share/nautilus/scripts directory I have scripts such as:

audacious-play.sh
...
geany-edit.sh 

(and others)
When right-clicking on a file and opening the Scripts sub-menu, I see menu entries for all my scripts but listed in reversed alphabetical order which is really weird, i.e. I see:

geany-edit.sh 
...
audacious-play.sh

I thought it could be a configuration problem in my setup, so scanned available documentation, looked into dconf-editor configurable parameters for nautilus, looked into ~/.config/nautilus  - but can't find any parameter or hint thereof to fix this weird behavior.

I tried running nautilus as another user (e.g. root), added a couple of scripts in the user's scripts directory, and found the same problem (reverse ordering of entries), so this seems to be a nautilus weirdness. Google is not showing similar issue reports so I'm puzzled.

When displaying the 'Scripts' items, folders inside the scripts directory are also listed as if they where regular file entries and are impacted by the reverse ordering as well 
(treating subdirectories as regular script items was already observed in 2002: https://bugzilla.gnome.org/show_bug.cgi?id=74459 )
Comment 1 Ronan Jouchet 2017-04-24 19:23:02 UTC
Created attachment 350338 [details]
Screenshot of the reverse-alphabetical ordering of scripts in Nautilus 3.24

Problem reproduced under Nautilus 3.24 from Arch.
Comment 2 Carlos Soriano 2017-04-25 08:41:55 UTC

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