! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
sorting numbers incorrectly
Status:
RESOLVED: FIXED

Comments

Description dylan 2012-07-22 05:39:41 CEST
Bug#1

Make a folder and make 5 files with the following *11* character file names:
touch 11111111111
touch 80000000000
touch 88888888888
touch 90000000000
touch 99999999999

Thunar will sort these as follows (incorrect):

90000000000
99999999999
80000000000
88888888888
11111111111

ls shows them as follows (correct)

$ ls | sort
11111111111
80000000000
88888888888
90000000000
99999999999

12 (and more?) characters also displays the same bug.

Bug#2

Make a folder and make 5 files with the following *10* character file names:
touch 1111111111
touch 8000000000
touch 8888888888
touch 9000000000
touch 9999999999

Thunar will sort these as follows (incorrect):

1111111111
9000000000
9999999999
8000000000
8888888888

ls shows them as follows (correct)

$ ls | sort
1111111111
8000000000
8888888888
9000000000
9999999999


Thunar is only correct when the above is redone with *9* or less character filenames.
Comment 1 Nick Schermer editbugs 2012-10-24 15:29:48 CEST
No sorting with hash is implemented in master, which should also solve this.
Comment 2 Nick Schermer editbugs 2012-10-24 15:30:00 CEST
/No/New/

Bug #9143

Reported by:
dylan
Reported on: 2012-07-22
Last modified on: 2012-10-24

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information