Cannot sort on item count

Features wanted...
Post Reply
Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Cannot sort on item count

Post 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!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Cannot sort on item count

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cannot sort on item count

Post 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.

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Cannot sort on item count

Post 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:
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cannot sort on item count

Post 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.

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Cannot sort on item count

Post by Sander Bouwhuis »

That makes me a sad panda.

Anyway, thanks for responding.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

Post Reply