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 151876 - Sort folders before files doesn't work correctly
Sort folders before files doesn't work correctly
Status: RESOLVED DUPLICATE of bug 310919
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.16.x
Other All
: Normal trivial
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-05 03:22 UTC by Shaya Potter
Modified: 2006-09-10 13:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Shaya Potter 2004-09-05 03:22:45 UTC
Please describe the problem:
When one has "sort folders before files" checked, it works w/ the some sort
orders, but not others.

such as, if one has a list view of a folder, sorts it via modified time (so
descending by default) it sorts the folders first.  If one switches it so that
it's ascending order, it's sorts the folders at the bottom.  Not the expected
behavior

Steps to reproduce:
1. check "sort folders before files"
2. change to list view
3. sort by modified so it goes ascending (oldest at top)


Actual results:
it sorts the files before directories

Expected results:
sort the directories before files

Does this happen every time?
1. check "sort folders before files"
2. change to list view
3. sort by modified so it goes ascending (oldest at top)


Other information:
Comment 1 Shaya Potter 2005-05-11 01:04:12 UTC
this bug still exists in 2.10.0 (on Ubuntu Breezy)
Comment 2 Sebastien Bacher 2006-05-07 18:42:49 UTC
Ubuntu bug about that: https://launchpad.net/products/nautilus/+bug/33705

"If I put Nautilus in list view, and the files sorted by date, the "show dirs before files" doesn't work well.

Nautilus shows the files in descendent modified-date order, with more recent files at the top (OK), but the directories are shown at the bottom.
...
http://librarian.launchpad.net/1801724/FolderBeforeFiles.png
Folders Before Files
...
the screenshot Folders Before Files shows that the folders are put at the bottom and not at the beginning of the list"
Comment 3 Travis Watkins 2006-09-09 18:10:29 UTC
This appears to be fixed, not sure when it happened. It works correctly for me in 2.16.0.
Comment 4 Sebastien Bacher 2006-09-10 11:03:09 UTC
The behaviour is still the same on Ubuntu edgy with GNOME 2.16, reopening
Comment 5 Christian Neumair 2006-09-10 13:30:00 UTC
Marking as dup of bug 310919 because it has a patch.

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