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 774724 - Sort order of the scripts very strange.
Sort order of the scripts very strange.
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Scripts facilities
3.20.x
Other Linux
: Normal enhancement
: 3.24
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 768323 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-11-19 16:44 UTC by Marco Diletti
Modified: 2017-04-25 08:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (802.92 KB, image/png)
2016-11-19 16:44 UTC, Marco Diletti
  Details
Nautilus 3.20 Scripts sub-menu (121.11 KB, image/png)
2016-11-23 08:52 UTC, Sadi
  Details
Nautilus-Pre-3.20-Scripts (131.36 KB, image/png)
2016-11-23 08:59 UTC, Sadi
  Details
ui-utilities: Fix menu merge when prepending (1.32 KB, patch)
2017-04-21 09:00 UTC, Carlos Soriano
committed Details | Review

Description Marco Diletti 2016-11-19 16:44:19 UTC
Created attachment 340315 [details]
Screenshot

Hello,

I have no problems with the sort order of files and directory,
but the scripts are sorted in inverse way from the configuration.
For better explain, I have nautilus configured with folders first
and sort by name in crescend, the scripts in the menu ignore files
and directory and the order is inverted.

I attach a screenshot, is better than my english :)

Thanks in advance.

Best regards.

Marco.
Comment 1 Carlos Soriano 2016-11-21 09:44:29 UTC
wow lot of scripts :)

Right we don't take into account the current sorting preference, we might be do that but that would change the ordering every time, and could be confusing. Not sure what good approach we could offer for the ordering of the scripts folder...
We could special case it and save the ordering of the scripts forlder in the metadata and take that into account. It might be too obscure though.
Worth asking designers.
Comment 2 Sadi 2016-11-23 08:38:57 UTC
I use Nautilus Scripts more heavily than Marco, and therefore I find this new bug - although not critical - more annoying I guess ;-)

Before Nautilus 3.20 (which came with Ubuntu 16.10) all folders and files were sorted in normal alphabetical order (and folders and files were mixed, unlike the normal "folders first" option used by default, which is a good idea for this special folder).

But with Nautilus 3.20 this order have been simply reversed upside done, and I can't see a way to change this (probably hard-coded).

So I ask the developers/designers to either switch back to the previous state or - better still - make Nautilus simply follow the users choice made when they "Open Scripts Folder" if they feel they must make some change, any change here ;-)

Thenks for all the valuable work that makes Nautilus my number 1 file manager (in spite of losing that dual-pane feature, which I miss a lot ;-)
Comment 3 Sadi 2016-11-23 08:52:15 UTC
Created attachment 340580 [details]
Nautilus 3.20 Scripts sub-menu
Comment 4 Sadi 2016-11-23 08:59:39 UTC
Created attachment 340584 [details]
Nautilus-Pre-3.20-Scripts
Comment 5 Carlos Soriano 2017-04-21 09:00:13 UTC
Created attachment 350188 [details] [review]
ui-utilities: Fix menu merge when prepending

We were prepending the items but in regular order, instead of inverse
to preserve the order.

To fix it the patch invert the order of the items when prepending.
Comment 6 Carlos Soriano 2017-04-21 09:00:45 UTC
Attachment 350188 [details] pushed as c0f1f3b - ui-utilities: Fix menu merge when prepending
Comment 7 Carlos Soriano 2017-04-25 08:41:55 UTC
*** Bug 768323 has been marked as a duplicate of this bug. ***