Mixed browsing of files and folders (sorted by name)

English support forum

Moderators: white, sheep, Hacker, Stefan2

misvin
Member
Member
Posts: 101
Joined: 2010-08-14, 11:25 UTC

Mixed browsing of files and folders (sorted by name)

Post by *misvin »

TC always shows folders before files. How to mix files and folders together (sorted by name). For example,
A <DIR>
a.txt
B <Dir>
b.txt
User avatar
tuska
Power Member
Power Member
Posts: 2505
Joined: 2007-05-21, 12:17 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *tuska »

In Everything 1.5 Alpha it is possible to create this sorting:
Menu "View" -> Sort by -> Mix Files and Folders


Windows 10 Pro (x64) Version 21H1 (OS build 19043.1110) | Search queries: TC <=> 'Everything'
'Everything' 1.5.0.1269a (x64) | How to make a full switch to 1.5?
User avatar
Ambaquista
Junior Member
Junior Member
Posts: 50
Joined: 2005-05-27, 11:11 UTC
Location: Luanda, Angola

Re: Mixed browsing of files and folders (sorted by name)

Post by *Ambaquista »

and with FreeCommander, and with XYplorer ...
perhaps the biggest (or the only?) "NO" about TC
JPCoetzee
Junior Member
Junior Member
Posts: 12
Joined: 2021-05-19, 12:49 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *JPCoetzee »

Ambaquista wrote: 2021-07-28, 20:39 UTC and with FreeCommander, and with XYplorer ...
perhaps the biggest (or the only?) "NO" about TC
and with xplorer².

I'm a recent convert to TC and for me this is the biggest negative. I still have to go back to xplorer² for some operations.

From the author's replies I can only assume that it is so baked-in that it can never be changed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 41540
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Mixed browsing of files and folders (sorted by name)

Post by *ghisler(Author) »

What operations need a mix of files and folders? I have always seen this as extremely dangerous for my files, so I have always treated them separately. Imagine a list with 30'000 files, and then a folder somewhere in the middle - no chance to see that.
Author of Total Commander
http://www.ghisler.com
User avatar
solid
Power Member
Power Member
Posts: 593
Joined: 2004-08-09, 11:20 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *solid »

This is a plausible scenario.
https://www.ghisler.ch/board/viewtopic.php?p=404468#p404468

Of course, it should be an option that should be enabled.
User avatar
Usher
Power Member
Power Member
Posts: 1236
Joined: 2011-03-11, 10:11 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *Usher »

2ghisler(Author)
Mix of coupled files and folders is typical when people use any web browser to save web pages.

What is more, when you switch view with Ctrl+F7 to unsorted, it should be really unsorted and display directory entries in the same order as created by the file system driver and seen using dir command.

And if you are still afraid of deleting directories, you may ignore two options when switching to mixed view:
1. Ignore enabled "Also select directories" with NumPlus.
2. Ignore disabled confirmation for "Deleting non-empty directories".
The second option seems better to me.
Regards from Poland
Andrzej P. Wozniak
User avatar
Stefan2
Power Member
Power Member
Posts: 3288
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Mixed browsing of files and folders (sorted by name)

Post by *Stefan2 »

ghisler(Author) wrote: 2021-08-02, 16:21 UTC Imagine a list with 30'000 files, and then a folder somewhere in the middle - no chance to see that.

Yes, you are right, but it's the user responsibility and I am thinking a tool should support the user.
Maybe you can warn on deletion or such actions like "Attention: there are folders selected"

Perhaps allow to create a "Custom View Mode" for to mix folders and files in view, ... so user have to enable that on his own?






A possible scenario for me would be:

ABBA - Gold Album\
BEATLES - A Hard Day’s Night\
METALLICA\
ZAPPA\
ABBA - Dancing Queen.mp3
ABBA - Waterloo.mp3
BEATLES - Penny Lane.mp3
BEATLES - Strawberry Fields Forever.mp3



ABBA - Gold Album\
ABBA - Dancing Queen.mp3
ABBA - Waterloo.mp3
BEATLES - A Hard Day’s Night\
BEATLES - Penny Lane.mp3
BEATLES - Strawberry Fields Forever.mp3
METALLICA\
ZAPPA\

 
OR


Folder1 AppA\
Folder2 AppB\
Folder3 Depens\
Folder1.txt
Folder2.txt
Folder3.txt


Folder1 AppA\
Folder1 describtion.txt
Folder2 AppB\
Folder2 content.txt
Folder3 Depens\
Folder3 how to.txt





 
misvin
Member
Member
Posts: 101
Joined: 2010-08-14, 11:25 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *misvin »

Usher wrote: 2021-08-03, 15:54 UTC What is more, when you switch view with Ctrl+F7 to unsorted, it should be really unsorted and display directory entries in the same order as created by the file system driver and seen using dir command.
What do you think of adding not only a mixed view of files and folders (sorted by name), but also that you can manually sort files and folders by clicking and dragging them up or down like Google Chrome bookmarks or Classic Shell start menu items?
User avatar
Gral
Power Member
Power Member
Posts: 881
Joined: 2005-01-26, 15:12 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *Gral »

This is something completely different - while with mixed unsorted or mixed alphabetical sorted is enough to read files and sort, with such a feature would be needed save this fully free order (at least temporary), so probably much more memory needed.
misvin
Member
Member
Posts: 101
Joined: 2010-08-14, 11:25 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *misvin »

Gral wrote: 2021-08-03, 18:23 UTCso probably much more memory needed.
The information can be stored like:
1. File comments in descript.ion files OR
2. Thumbs database for multiple files OR
3. List structure as the tree is saved in the treeinfo.wc file.
User avatar
Gral
Power Member
Power Member
Posts: 881
Joined: 2005-01-26, 15:12 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *Gral »

I didn't specify what type of memory i mean. These remarks apply to disk space and usage too.
Imagine e.g. folder with 1 milion files sorted frequently.
Also ad 1. - rather impossible - could cause unexpected description loss.
User avatar
Usher
Power Member
Power Member
Posts: 1236
Joined: 2011-03-11, 10:11 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *Usher »

misvin wrote: 2021-08-03, 20:54 UTC The information can be stored like:
1. File comments in descript.ion files
So you can just change comments in descript.ion and use custom columns for sorting.
Regards from Poland
Andrzej P. Wozniak
User avatar
Gral
Power Member
Power Member
Posts: 881
Joined: 2005-01-26, 15:12 UTC

Re: Mixed browsing of files and folders (sorted by name)

Post by *Gral »

Right, but note that this doesn't work for directories - still sorted before files.
Post Reply