Folders not affected by clicking on header column
Moderators: Hacker, petermad, Stefan2, white
Folders not affected by clicking on header column
This report is for Total Commander 9.0a RC2 running on 64-bit Windows 10 Pro.
I apologize if this has been reported before, I did my best avoid a duplicate.
When displaying a folder (directory) that contains other sub-folders (sub-directories), clicking on a column header attribute to change the sort order has no effect on directory names, only on filenames.
Example:
Name___Size______Date______Attr
DIR1___<DIR>___2016/11/25_----
DIR2___<DIR>___2015/11/01_----
File1___815,051__2011/07/11_-a--
File2___658,299__2008/11/26_-a--
Clicking on any of the columns on the header (Name, Size, Date) will only affect File1 and File2, not <DIR1> or <DIR2>.
On a directory that ONLY contains sub-directories (no files), this is even more relevant, since there is currently no way to change the sort order and move the most recent directories to the top of the list and vice-versa. That's how I noticed the issue at first.
I am not sure if this is by design or a bug; I don't even remember if this used to work in previous versions of Total Commander, but it works fine on Windows' File Explorer.
Thanks in advance.
I apologize if this has been reported before, I did my best avoid a duplicate.
When displaying a folder (directory) that contains other sub-folders (sub-directories), clicking on a column header attribute to change the sort order has no effect on directory names, only on filenames.
Example:
Name___Size______Date______Attr
DIR1___<DIR>___2016/11/25_----
DIR2___<DIR>___2015/11/01_----
File1___815,051__2011/07/11_-a--
File2___658,299__2008/11/26_-a--
Clicking on any of the columns on the header (Name, Size, Date) will only affect File1 and File2, not <DIR1> or <DIR2>.
On a directory that ONLY contains sub-directories (no files), this is even more relevant, since there is currently no way to change the sort order and move the most recent directories to the top of the list and vice-versa. That's how I noticed the issue at first.
I am not sure if this is by design or a bug; I don't even remember if this used to work in previous versions of Total Commander, but it works fine on Windows' File Explorer.
Thanks in advance.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
By default, directories are sorted by name. However, it can be changed in Configuration - Options - Display - Like files (also by time).
If you need to change this multiple times, you may create a button in the button bar with the command cm_SwitchDirSort .
If you need to change this multiple times, you may create a button in the button bar with the command cm_SwitchDirSort .
Don't worry, better too many bug reports than a missed report. I can only fix things I know about.I apologize if this has been reported before, I did my best avoid a duplicate.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
but here is absent one important option:
"treat folders and files like identical object of FS"
Hence when such combobox will be checked - operations of sorting should not sort sub-folders at first - put them in the beginning of the folder's list - then sort files and put them AFTER sorted sub-folders.
For ex. taking into account an ex. from the first post after sorting by Date we should get this:
File2___658,299__2008/11/26_-a--
File1___815,051__2011/07/11_-a--
DIR2___<DIR>___2015/11/01_----
DIR1___<DIR>___2016/11/25_----
Another example of desired behavior:
File3___815,051__2011/07/11_-a--
DIR2___<DIR>___2011/08/03_----
File1___385,129__2012/12/11_-a--
File2___111,111__2014/05/06_-a--
DIR1___<DIR>___2015/11/01_----
File4___018,074__2015/12/26_-a--
DIR3___<DIR>___2016/11/01_----
"treat folders and files like identical object of FS"
Hence when such combobox will be checked - operations of sorting should not sort sub-folders at first - put them in the beginning of the folder's list - then sort files and put them AFTER sorted sub-folders.
For ex. taking into account an ex. from the first post after sorting by Date we should get this:
File2___658,299__2008/11/26_-a--
File1___815,051__2011/07/11_-a--
DIR2___<DIR>___2015/11/01_----
DIR1___<DIR>___2016/11/25_----
Another example of desired behavior:
File3___815,051__2011/07/11_-a--
DIR2___<DIR>___2011/08/03_----
File1___385,129__2012/12/11_-a--
File2___111,111__2014/05/06_-a--
DIR1___<DIR>___2015/11/01_----
File4___018,074__2015/12/26_-a--
DIR3___<DIR>___2016/11/01_----
#146217 personal license
2rfaquino
If you also want to be able to sort directories by extension you can add SortDirExt=1 to te [Configuration] section of your wincmd.ini file.
If you also want to be able to sort directories by extension you can add SortDirExt=1 to te [Configuration] section of your wincmd.ini file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re:
Did you find the solution for your approach?
AntonDudarenko wrote: 2016-12-09, 09:40 UTC but here is absent one important option:
"treat folders and files like identical object of FS"
Hence when such combobox will be checked - operations of sorting should not sort sub-folders at first - put them in the beginning of the folder's list - then sort files and put them AFTER sorted sub-folders.
For ex. taking into account an ex. from the first post after sorting by Date we should get this:
File2___658,299__2008/11/26_-a--
File1___815,051__2011/07/11_-a--
DIR2___<DIR>___2015/11/01_----
DIR1___<DIR>___2016/11/25_----
Another example of desired behavior:
File3___815,051__2011/07/11_-a--
DIR2___<DIR>___2011/08/03_----
File1___385,129__2012/12/11_-a--
File2___111,111__2014/05/06_-a--
DIR1___<DIR>___2015/11/01_----
File4___018,074__2015/12/26_-a--
DIR3___<DIR>___2016/11/01_----
Re: Re:
unfortunately no - the author did not introduce a proper sub-option for such desirable kind of sorting,
so right now it's impossible - to get such order at TC's panels...
and sorry for a long delay before my answer... notifications for some reasons do not working for me...
#146217 personal license
-
- New Member
- Posts: 1
- Joined: 2005-07-05, 22:40 UTC
Re: Folders not affected by clicking on header column
Possible feature suggestion to add flexibility related to this subject:
For Options | Display | View Mode | have an options in here (Under Additional Sort orders?)
Break out name and have: Name, File Name, and Folder Name as options here.
Yes, there is a global option under Display | Sorting Directories but you have to keep toggling based on use-case.
For Options | Display | View Mode | have an options in here (Under Additional Sort orders?)
Break out name and have: Name, File Name, and Folder Name as options here.
Yes, there is a global option under Display | Sorting Directories but you have to keep toggling based on use-case.
-
- New Member
- Posts: 1
- Joined: 2021-11-20, 21:39 UTC
- Location: Sydney Australia
- Contact:
Re:
thanks, it worked! Although why folders sorting is in Display while customizing sorting is at View Mode is a mystery.ghisler(Author) wrote: 2016-12-08, 22:36 UTC By default, directories are sorted by name. However, it can be changed in Configuration - Options - Display - Like files (also by time).
..
Re: Folders not affected by clicking on header column
2ManlyElectronics
You don't need to use View Mode to customize sorting, you can do it directly at the tabstop header:...while customizing sorting is at View Mode..
Help wrote:When you Ctrl+Click or Shift+Click on a header, it is defined as an additional sort order. If the first column results in equal items, the second column will be used, then the third etc. When you click on a header which is already used for sorting, the result depends on the modifier key: With Shift, the sort order of that header is removed. With Ctrl, the sort direction is reversed.
Example: Click on Size, then Shift+Click on Date. Files will be sorted by size, and those with equal size will be sorted by date.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar