This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Folders not affected by clicking on header column

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
rfaquino
Junior Member
Junior Member


Joined: 15 Sep 2010
Posts: 4
Location: Cambridge, MA

PostPosted: Thu Dec 08, 2016 4:04 pm    Post subject: Folders not affected by clicking on header column Reply with quote

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.
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4683
Location: Europe, Aachen

PostPosted: Thu Dec 08, 2016 4:33 pm    Post subject: Reply with quote

Configuration -> Options... -> Display:
Sorting directories
(_) Always by name (x) Like files (also by time)


Question

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34726
Location: Switzerland

PostPosted: Thu Dec 08, 2016 4:36 pm    Post subject: Reply with quote

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 .

Quote:
I apologize if this has been reported before, I did my best avoid a duplicate.

Don't worry, better too many bug reports than a missed report. I can only fix things I know about.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AntonDudarenko
Member
Member


Joined: 04 Nov 2006
Posts: 100
Location: Russian Federation

PostPosted: Fri Dec 09, 2016 3:40 am    Post subject: Reply with quote

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_----
_________________
#146217 personal license
Back to top
View user's profile Send private message
rfaquino
Junior Member
Junior Member


Joined: 15 Sep 2010
Posts: 4
Location: Cambridge, MA

PostPosted: Fri Dec 09, 2016 9:45 am    Post subject: Reply with quote

Thanks everyone for the quick responses. I have TC now working as I wished (as it always does). Smile
_________________
Renato F. Aquino
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7325
Location: Valsted, Denmark

PostPosted: Fri Dec 09, 2016 2:34 pm    Post subject: Reply with quote

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.
_________________
#524
Danish Total Commander Translator
TC 9.10b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b8 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group