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 328383 - Sort by name is subtly wrong
Sort by name is subtly wrong
Status: RESOLVED DUPLICATE of bug 355152
Product: nautilus
Classification: Core
Component: general
2.16.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-24 04:59 UTC by David Schroeder
Modified: 2010-05-26 09:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description David Schroeder 2006-01-24 04:59:19 UTC
Please describe the problem:
With my locale set to en_US.UTF-8, sort by name is slightly wrong when it comes
to case insensitivity.

Steps to reproduce:
1. Start a nautilus with LANG=en_US.UTF-8
2. In a new directory, creates files 'A1' 'a2' 'A3' and 'a4'
3. Tell nautilus to sort by name


Actual results:
The files show up in the wrong order, namely 'a2' 'a4' 'A1' 'A3'

Expected results:
The files to show up in the order 'A1' 'a2' 'A3' 'a4', and ls and konqueror do

Does this happen every time?
Yes

Other information:
Comment 1 Sebastien Bacher 2006-09-19 17:37:25 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/24388
Comment 2 Nelson Benitez 2008-10-01 11:02:31 UTC
Hi, nautilus uses g_utf8_collate_key_for_filename() glib function to sort by name, that function was implemented in purpose in bug 172690 , if you think it needs some tweaking then file a bug against glib product.
Comment 3 Cosimo Cecchi 2010-05-26 09:45:55 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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