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 600107 - sort by name always shows folders first
sort by name always shows folders first
Status: RESOLVED NOTABUG
Product: nautilus
Classification: Core
Component: Views: List View
2.28.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-30 09:49 UTC by launchpad
Modified: 2009-11-01 02:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description launchpad 2009-10-30 09:49:09 UTC
when sorting by name, nautilus puts all the folders first. This isn't sorting
by name, it's mixing sort by type and sort by name. There doesn't appear
to be an option to sort by name alone. I had a look in preferences but didn't
find anything that seemed relevant to this.

What to do:
open a folder in nautilus with a mixture of folders and files, which have
interspersed names. For example:

mkdir /tmp/testdir; pushd /tmp/testdir
mkdir a
touch b
mkdir c
touch d
touch e
mkdir f
popd

Expected outcome:
open /tmp/testdir in nautilus, sort by name, and they should be in order a to f

Actual outcome:
open /tmp/testdir in nautilus, sort by name, and you get
a - folder
c - folder
f - folder
b - file
d - file
e - file

reversing the sort order reverses the sort inside the types, not in
total.

ProblemType: Bug
Architecture: i386
Date: Thu Oct 29 22:27:36 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.28.1-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: nautilus
Uname: Linux 2.6.31-14-generic i686

** Affects: nautilus (Ubuntu)
    Importance: Undecided
        Status: New


** Tags: apport-bug i386

I submitted this in Ubuntu and was told to report it upstream as well. I couldn't find a similar bug in gnome bugzilla.

Launchpad link:
https://bugs.launchpad.net/bugs/463794
Comment 1 Germán Poo-Caamaño 2009-11-01 02:46:59 UTC
Open a Nautilus' window, Go to menu Preferences.  In the tab 'View' unset
'Sort folders before files'.

That is.