cm_SwitchDirSort does not work

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
adampeter
Junior Member
Junior Member
Posts: 5
Joined: 2013-07-07, 15:49 UTC
Location: Sopron, Hungary

cm_SwitchDirSort does not work

Post by *adampeter »

Neither cm_SwitchDirSort nor it's settings equivalent (Setting->Screen->Folder sorting, retranslated from Hungarian) working as it worked in previous versions.

TCMD version: 9.21a just upgraded from RC2 (not worked in RC2, so I have upgraded it to the final; rarely used so I have not found this problem till now)
Architecture: 32 bit
OS: W7 Professional

I have made a toolbar button for the command cm_SwitchDirSort and found that it only works on the left side, independently from which side is the active side.
If I use the button, the left side is updated. If I use the Settings menu, I have to change the tab to and back to get it updated. On the right side nothing happens in either case.

Could you look at the issue?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: cm_SwitchDirSort does not work

Post by *Horst.Epp »

Confirmed but
for me in x64 TC it only affects the right side.
on 32bit TC both sides are affected at the same time.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: cm_SwitchDirSort does not work

Post by *Ovg »

Hm, working fine for me in both panels x64/x32 :oops:
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: cm_SwitchDirSort does not work

Post by *petermad »

Here it works on both sides in both 32- and 64-bit TC 9.21a - BUT the effect is only immediate visible if the initial name sorting order is set to Reversed (= descending = arrow down on the Name tab header).

This makes sense - if cm_SwitchDirSort is enabled, sorting will always be Ascending by Name - so if the sort order is already set to ascending (arrow up) there will be no change to see.

If you have set the Name sort order to none (no arrow) and you are on a FAT formatted drive (for example UCB-sticks), then enabling/disabling cm_SwitchDirSort might show immediate change - if the dirs were not created in alpabetical order.

If I test cm_SwitchDirSort in older TC versions (9.0 and 8.52a), I se no difference in behaviour compared to the current version 9.21a.
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
User avatar
adampeter
Junior Member
Junior Member
Posts: 5
Joined: 2013-07-07, 15:49 UTC
Location: Sopron, Hungary

Re: cm_SwitchDirSort does not work

Post by *adampeter »

Thanks all, after restarting the machine it works. I have tried it sorting by date, now my toolbar button immediately updates both size (backup, live)
Post Reply