Bug reports will be moved here when the described bug has been fixed
Moderators: Hacker , petermad , Stefan2 , white
HolgerK
Power Member
Posts: 5409 Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen
Post
by *HolgerK » 2014-08-29, 21:41 UTC
wincmd.ini wrote: [Configuration]
SortDirsByName=0
- <Left click> on "Ext" tabstop header
- <Ctrl>+<Left click> on "Name" tabstop header
- <Ctrl>+<Left click> on "Name" tabstop header to invert the secondary sort order
->
the files are re-sorted
->
the directories keep their previous sort order
Regards
Holger
sqa_wizard
Power Member
Posts: 3893 Joined: 2003-02-06, 11:41 UTC
Location: Germany
Post
by *sqa_wizard » 2014-08-29, 22:11 UTC
-> the directories keep their previous sort order
Well, this is exactly what you told TC to do !
SortDirsByName=0
#5767 Personal license
HolgerK
Power Member
Posts: 5409 Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen
Post
by *HolgerK » 2014-08-29, 22:34 UTC
F1 wrote: SortDirsByName=1 Always sort directories by name
->SortDirsByName=0 means that sorting by "Name" tabstop header has not only an effect for files but
also for directories.
Regards
Holger
petermad
Power Member
Posts: 16032 Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:
Post
by *petermad » 2014-08-30, 01:16 UTC
I can confirm HolgerK's observation and would characterize it as a bug.
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2014-09-01, 09:53 UTC
By default, directories are NOT sorted by extension. However, you can re-enable it manually.
Please add the following strings to the file wincmd.ini, section [Configuration]:
SortDirExt=1
SortDirsByName=0
You can edit the wincmd.ini via Configuration - Change settings files directly.
HolgerK
Power Member
Posts: 5409 Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen
Post
by *HolgerK » 2014-09-01, 11:30 UTC
Even with "
SortDirExt=1 " (*) the
secondary sort by name does not work for directories.
Regards
Holger
(*)SortDirsByName=0 was already
set .
petermad
Power Member
Posts: 16032 Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:
Post
by *petermad » 2014-09-01, 19:29 UTC
SortDirExt=1
I always have that setting active - and I can still confirm Holger's observation.
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2014-09-04, 09:55 UTC
I have just checked the code - additional sort columns are only supported for files, not folders. I'm not sure whether I should change that or not now after so many years...
HolgerK
Power Member
Posts: 5409 Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen
Post
by *HolgerK » 2014-09-07, 10:52 UTC
I would fix it.
The strange thing is that even with the default "SortDirExt=0" the directories are sorted by the sort order of the extension:
^ 2 Name | v Ext
[..]
[Dir_B2.2]
[Dir_B2.1]
[Dir_B1.2]
[Dir_B1.1]
[Dir_A2.2]
[Dir_A2.1]
[Dir_A1.2]
[Dir_A1.1]
file__A1.2
file__A2.2
file__B1.2
file__B2.2
file__A1.1
file__A2.1
file__B1.1
file__B2.1
For me this is clearly a buggy, unexpected behavior.
I don't think that anyone can categorize this as a feature.
Regards
Holger
petermad
Power Member
Posts: 16032 Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:
Post
by *petermad » 2014-09-07, 14:49 UTC
HolgerK
Power Member
Posts: 5409 Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen
Post
by *HolgerK » 2016-06-09, 19:45 UTC
Histroy.txt wrote: 16.09.14 Fixed: Secondary sort orders (e.g. by date, then by name) didn't work for directories (32/64)
I can confirm the fix in TC9.0.B1 x86/x64.
Thanks
Holger