Count size (Space or Alt+Shift+Enter): show % and dir name

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Count size (Space or Alt+Shift+Enter): show % and dir name

Post by *DrShark »

Currently when user hits Space on a folder or Alt+Shift+Enter in panel, TC shows ? instead of <DIR> in "Size" column of each folder till its occupied space gets counted. I suggest to show % from number of subfoders which sizes TC already got, and near it also show the name of subfolder which size TC is currently counting if count time for that subfolder is more than X seconds, like that:
Name   |Size     |
-------------------------------
Windows | 65% (winsxs)|
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Nice try :wink:

To show a percentage value, TC must know how many files and folders are available in total.
Therefore TC must scan the whole tree.
... but after this TC already knows the overall size. :!:

It would be nice if the calculation could be done using "everything".
Then the result is available immediately ... at least for local ntfs drives.
#5767 Personal license
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

sqa_wizard wrote:To show a percentage value, TC must know how many files and folders are available in total.
Therefore TC must scan the whole tree.
... but after this TC already knows the overall size. :!:
After scanning the tree TC still have to do some math to get total size. Anyway, TC also can show show a percentage value based only on first level subitems (folders/files) size count. I mean, if a folder has 5 files and 5 subfolders, it could show 50% after files sizes sum is counted (10% for each file), and add 10% for each subfolder and its tree counted size.
sqa_wizard wrote:It would be nice if the calculation could be done using "everything".
Then the result is available immediately ... at least for local ntfs drives.
Yes, this is a nice idea.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply