Bug: Sort dirs like files, sort by extension, dirs with .

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
katatonic
Junior Member
Junior Member
Posts: 13
Joined: 2004-01-06, 14:52 UTC
Location: Sofia, Bulgaria

Bug: Sort dirs like files, sort by extension, dirs with .

Post by *katatonic »

Consider the situation when we use the option "sort dirs like files" and the list is sorted by extension. This is quite a common set of options, I suppose.
If there are dirs with "." in the name, everything after the dot is treated as an extension of the directory and such dirs go to the end of the list. I think that most of the time this is not the desired behaviour. For example this might separate in the list folders like "jdk" and "jdk1.4", quite bad.

I suggest that dirs are never considered to have an extension when sorting.
Moreover people usually don't need to use the notion of an extension for folders, and if there is a dot in the name it is most probably perceived as part of the name, not an extension - even TC displays it as part of the name.
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-11, 08:00 UTC, edited 1 time in total.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Yep, there's also been a discussion concerning this and RenameSelOnlyName=1 on the beta forums.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Re: Bug: Sort dirs like files, sort by extension, dirs with

Post by *Aezay »

katatonic wrote:Consider the situation when we use the option "sort dirs like files" and the list is sorted by extension.
What option is that?

I thought it was the Display -> Sorting directories setting, but i couldnt reproduce your explanation.
Of all the planets I've been to, this one is my favorite.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

i couldnt reproduce your explanation.
It happens when you sort by extension, when you have dirnames with "extensions", like "backup.old".
I switched to Linux, bye and thanks for all the fish!
katatonic
Junior Member
Junior Member
Posts: 13
Joined: 2004-01-06, 14:52 UTC
Location: Sofia, Bulgaria

Post by *katatonic »

norfie wrote:It's not a bug it's a feature. It's only a question of interpretation.
TC never displays extensions for folders (in the file list panel), even if they have dots in the name - it only shows names in the name column. This implies that TC considers that folders do not have extensions, they only have names (even in cases like "backup.old") and to me this is the logical interpretation. That's why I'm reporting this as a bug - the behaviour in TC is self-contradictory as it is now.

It could be considered a feature by those who prefer the current behaviour, but then I think there should be at least an option (or INI setting) to change this behaviour.
Post Reply