[solved] View modes with Custom columns

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] View modes with Custom columns

Post by *petermad »

If I try to use "Additional sort orders" with a View Mode where the "Columns view" field is set to a custom column - then it does not work.

This is obviously a bug since you are even offered to select custom columns to sort by when you click the [+] button next to the "Additional sort orders" field.

wincmd.ini settings to test with:

Code: Select all

[CustomFields]
Widths1=80,30,45,80
Headers1=dosname\ncreationtime
Contents1=[=tc.dosname]\n[=tc.creationtime]
Options1=-1|1|96
AutoLoad=0
Titles=Test

[ViewModes]
0_name=<Standard>
0_icon=
0_options=1|0|0||-1|-1|-1
1_name=Test
1_icon=
1_options=6|101|0|2,1|-1|-1|-1
Use this and then apply the "Test" View Mode - and you will se that sorting is only done for creationdate - not for the additional Ext. and Name columns as expected.

See also: http://ghisler.ch/board/viewtopic.php?p=338467#338467
Last edited by petermad on 2021-05-30, 11:33 UTC, edited 1 time in total.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I can reproduce it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in TC 9.20 beta 1, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 9.20b1 :-)
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
Post Reply