Page 1 of 1

Cannot sort on item count

Posted: 13 Jun 2010 08:53
by Sander Bouwhuis
I saw that there is finally an item count for directories (hooray!).

But, to my great dismay, it isn't a separate column. Please, please, pretty please with sugar on top make this a separate column so it can be used to sort on. Further, it would take a LOT less space. The size column has now become unusable : '[nnn items] bbb' takes up way too much space.

Also, I found a bug. It accidentally also counts the sub-directories as items! So, if you have 1 file which is 3 deep, you'll get the number 4, instead of 1!

Re: Cannot sort on item count

Posted: 13 Jun 2010 09:20
by j_c_hallgren
iycgtptyarvg wrote:Also, I found a bug. It accidentally also counts the sub-directories as items! So, if you have 1 file which is 3 deep, you'll get the number 4, instead of 1!
Depends on how you look at it, I guess...to me, 4 is the right value as sub-directories are items since they do occupy directory space...but I also understand your POV.

Re: Cannot sort on item count

Posted: 13 Jun 2010 12:22
by admin
There's a tweak: Set ShowFolderCounts=3 in the INI to count files only. This tweak is settable through the address bar:

Code: Select all

::tweak("ShowFolderCounts", 3);
Note: The tweak is only applied if "Show Item Count" is OFF!


Separate column is not planned.

Re: Cannot sort on item count

Posted: 13 Jun 2010 13:32
by Sander Bouwhuis
?!? How can I use the ShowFolderCounts if the counts have to be off ?!?

I presume that is a typo, and you meant 'when Show Item Count is ON'(?)

Why not use a separate column? At this moment the feature is useless. Having this on means double pane is no longer viable, and you still can't sort on item count. Sorry, but I honestly don't understand the thinking behind this.

In Directory Opus I always had the file count on; it's extremely useful. :cry:

Re: Cannot sort on item count

Posted: 13 Jun 2010 13:42
by admin
Yes, it sounds illogical, but this is because we are talking about a non-officially-documented (= not in the help file) tweak here. The official setting (item count ON) overwrites the tweak. If the official item count is OFF the tweak can play its cards.

I currently don't like to have a column that's only useful for folders, that's all. I might revise this opinion when I do shell column support which means a major rewrite of column handling. But that's not for tomorrow.

Re: Cannot sort on item count

Posted: 13 Jun 2010 17:34
by Sander Bouwhuis
That makes me a sad panda.

Anyway, thanks for responding.