Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-05-18 21:38:24

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Thunar and Ristretto use different sort orders

If I look at a folder of images using Thunar, I will see (in part) this:

7.jpg
07.jpg
007.jpg
007b.jpg

However, if I use Ristretto to look at the files in order, what I get is this:

007.jpg
007b.jpg
07.jpg
7.jpg

This is almost, but not quite the reverse order.  If it matters, I'm using Fedora 21 and Xfce 4.10.  This isn't a major problem, of course, but it's odd and I'd like to know what's going on if anybody knows.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#2 2016-05-18 22:30:22

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Thunar and Ristretto use different sort orders

Err... Ristretto can count, lol?

Alternatively, in Thunar, left-click on the "Name" column heading to ensure that it is not actually sorting by reverse order.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#3 2016-05-18 23:22:27

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Thunar and Ristretto use different sort orders

Nice try, but no cigar.  If Thunar were showing things in reverse order, files starting with Z would be at the top of the list, not the bottom.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#4 2016-05-19 04:18:30

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Thunar and Ristretto use different sort orders

Sideburns wrote:

Nice try, but no cigar.  If Thunar were showing things in reverse order, files starting with Z would be at the top of the list, not the bottom.

Just what kind of tobacco is in your cigar, lol? There are NO files whose names begin with Z in the list that the member posted.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#5 2016-05-19 05:50:38

grizzler
Member
From: The Hague, NL
Registered: 2014-03-15
Posts: 13

Re: Thunar and Ristretto use different sort orders

Natural sorting (Thunar) versus purely alphanumeric, ASCII based sorting (Ristretto).

https://en.wikipedia.org/wiki/Natural_sort_order

Offline

#6 2016-05-19 06:12:17

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Thunar and Ristretto use different sort orders

You don't think that I gave you the whole list, I hope.  I just gave you a very small fragment to demonstrate what was going on.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#7 2016-05-27 12:10:54

xyzdragon
Member
Registered: 2015-12-06
Posts: 17

Re: Thunar and Ristretto use different sort orders

> You don't think that I gave you the whole list, I hope.  I just gave you a very small fragment to demonstrate what was going on.
Maybe you could provide a longer list with some more diverse examples to verify the suggestion by grizzler that it really is a problem of ascii sort vs. natural sort.

There already is an option in Ristretto: Edit->Sort by filename vs. Edit->Sort by date. I guess you could maybe look at the code for that and come up with other sortings like "sort naturally by filename" and submit a patch. I know it's a lot of work, but it's just a suggestion, or you file a bug report / feature request here https://bugzilla.xfce.org/enter_bug.cgi … =Ristretto
It actually seems like the bug was already solved in 0.2.0 and then reverted: https://bugzilla.xfce.org/show_bug.cgi?id=3837

Offline

Board footer

Powered by FluxBB