[TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
cpp64
Junior Member
Junior Member
Posts: 83
Joined: 2023-05-12, 16:03 UTC

[TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *cpp64 »

[ Show --> Name ] : Ctrl + F3
p1.txt
s1.txt
S2.Txt

[ Show --> Extension ] : Ctrl + F4
S2.Txt
p1.txt
s1.txt

--> "S2.Txt" is above "p1.txt". However, the porper location is below "s1.txt".

Windows is not *nix.

Can I turn off "Case Sentitive" in "Show --> Extension" ?
Last edited by cpp64 on 2023-07-03, 12:10 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b9] "Show --> Extension (Ctrl + F4)" respects "Case Sensitive"

Post by *petermad »

Confirmed - probably due to this fix:
history.txt wrote:25.06.23 Fixed: In case sensitive directories, files which differred only in upper-/lowercase were sorted randomly, now sort with uppercase first (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Galizza
Member
Member
Posts: 167
Joined: 2018-09-07, 05:21 UTC

Re: [TC 11.00b9] "Show --> Extension (Ctrl + F4)" respects "Case Sensitive"

Post by *Galizza »

cpp64 wrote: 2023-06-30, 13:20 UTC [ Show --> Extension ] : Ctrl + F4
S2.Txt
p1.txt
s1.txt

--> "S2.Txt" is above "p1.txt". However, the porper location is below "s1.txt"
 

I also think that  S2.Txt  must be below  s1.txt , at least should be configurable.

IMHO this new sort order may be even dangerous for users that are not aware of it. Best regards :!:
 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b9] "Show --> Extension (Ctrl + F4)" respects "Case Sensitive"

Post by *ghisler(Author) »

I will change it so it only respects "Case Sensitive" when both the name and the extension are identical (ignoring case).
Author of Total Commander
https://www.ghisler.com
cpp64
Junior Member
Junior Member
Posts: 83
Joined: 2023-05-12, 16:03 UTC

[TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *cpp64 »

2ghisler
ghisler(Author) wrote: 2023-07-03, 10:03 UTC I will change it so it only respects "Case Sensitive" when both the name and the extension are identical (ignoring case).
history.txt wrote:25.06.23 Fixed: In case sensitive directories, files which differred only in upper-/lowercase were sorted randomly, now sort with uppercase first (32/64)
os : windows 11 22h2 x64
tc : 11.00b9 x64

The problem occurs with a normal NTFS directory.

I don't use WSL.
So I don't have a "case-sensitive directory" at all.

The problem also occurs with a FAT volume.
I tested it on a FAT-formatted VHD.

It seems that TC does not correctly recognize a "case-sensitive directory".
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *ghisler(Author) »

That's not the point here. The reason why it happens is that TC was comparing name and extension separately, not checking the other when the first was identical for 2 files.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *petermad »

history.txt wrote:03.07.23 Fixed: File lists: Only respect case when sorting names when both the name and the extension are the same (ignoring case) (32/64)
Confirmed fixed in TC 11.00b10 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
cpp64
Junior Member
Junior Member
Posts: 83
Joined: 2023-05-12, 16:03 UTC

Re: [TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *cpp64 »

Confirmed fixed in TC 11.00b10
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.00b9] "Show --> Extensions (Ctrl + F4)" respects "case-sensitive" in a "non-case-sensitive" directory

Post by *white »

Moderator message from: white » 2023-07-06, 08:41 UTC

Moved to Fixed bugs.
Post Reply