[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2019-12-09 Thread Roadowl
Most elegant solution to this abomination:
https://github.com/heralight/GlibSortFileNameHackLibrary

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2019-04-29 Thread Mitch Butler
I'm not sure if this is the same bug or a different one. I am using ubuntu 
14.04 LTS. I have a directory containing other directories. They sort correctly 
with "ls -l". But they show up in Nautilus as:
20190428_96a11107  <- wrong order
20190428_1271f6a8
20190428_4314187e
20190428_a4b67026
20190428_a9637c2a
20190428_bd912fd3
20190428_c7b6ee8a  <- wrong order
20190428_c408cf3c
20190428_ec90884e

I am not aware of any hidden special characters in the names. It is easy to 
reproduce on my machine. Just go to an empty folder and do:
touch 20190428_1271f6a8
touch 20190428_4314187e
touch 20190428_96a11107
touch 20190428_a4b67026
touch 20190428_a9637c2a
touch 20190428_bd912fd3
touch 20190428_c408cf3c
touch 20190428_c7b6ee8a
touch 20190428_ec90884e

They sort correctly with "ls -l", but not with Nautilus.

I haven't tried a more recent version of ubuntu. Should I report this
somewhere else?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2016-01-06 Thread Tomas Petricek
I simply don't believe this is a design choice:
a a.txt
aa a.txt
a b.txt
k a.txt
k b.txt
kk a.txt

There should be at least an option for the simple alphabetical ordering.
Also, I believe the priority should be higher since listing files is the main 
function of a file browser...

** Attachment added: "A screenshot of an unexpected file ordering."
   
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/322271/+attachment/4545062/+files/nautilus_wrong_file_ordering.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2015-12-11 Thread Grizzly
Well, nice to see something's going on. The sort just sucks. Why not AT
LEAST provide the option to chose between plain ascii-codepage-utf-8
-number-in-the-charmap-style sort and this broken natural sort?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2015-09-09 Thread hergo
You can track a bug request for glib in 
https://bugzilla.gnome.org/show_bug.cgi?id=754777
and you can find a partial hack at 
https://github.com/heralight/GlibSortFileNameHackLibrary

** Bug watch added: GNOME Bug Tracker #754777
   https://bugzilla.gnome.org/show_bug.cgi?id=754777

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 322271] Re: Sorting by name doesn't work well with digits or special chars

2014-05-23 Thread Simon Arlott
The Gnome developers appear to be unwilling to fix this after nearly 8
years. I've attached an example of the issue where it is clear that the
sort order is wrong, even for proponents of natural sort ordering.

It can be fixed for Nautlius by changing
g_utf8_collate_key_for_filename() to g_utf8_collate_key()
nautilus-3.10.1/libnautilus-private/nautilus-file.c but this only
affects Nautilus windows. File dialogs still use the wrong sort order.

In glib, g_utf8_collate_key_for_filename() is broken for anything with
leading zeros (it sorts 2009.1 before 2009.05) so it doesn't even get
natural ordering correct.

The sort order of g_utf8_collate_key_for_filename() is too aggressive in
splitting up filenames into separately ordered components, which makes
it inconsistent with user expectations for highly structured filenames.

Some sort of desktop-wide use natural sort order setting is required
to allow the behaviour to be adjusted. An environment setting for glib
would do (although the change wouldn't be effective immediately).

** Attachment added: Invalid sort order which orders 3 both before and after 
4.
   
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/322271/+attachment/4118397/+files/invalid_sort_order.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/322271

Title:
  Sorting by name doesn't work well with digits or special chars

Status in Nautilus:
  Confirmed
Status in “nautilus” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  On my local disk there is a folder with the following contents:

  stefan@ubuntu:~/Dokumente/*/*/*/FLASCHEN_15cm$ ls
  0,2LMW  0,33LMW  0,5LMW  0,5LMWPET  1,0LEWPET  1,5LEWPET

  I did not include the full path for legal reasons, since it includes
  names of my customers and brand names. Instead of these, I put * to
  indicate another subdirectory.

  However, when I display this folder in nautilus sorting alphabetically
  by file name, the resulting order is:

  0,2LMW  0,5LMW  0,5LMWPET  0,33LMW  1,0LEWPET  1,5LEWPET

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: ath_hal
  Package: nautilus 1:2.24.1-0ubuntu1
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.27-9-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/322271/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp