cm_CountDirContent when Refresh Panel enabled.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

cm_CountDirContent when Refresh Panel enabled.

Post by *Balderstrom »

Config | Refresh:

Auto-Refresh when the file system changes:
[X] Refresh when files are created, deleted and renamed.

[X] Also when size, date, or attributes change.
[X] Don't react to updates while in the background.
[X] Update footer (total number of files)
After calculating folder sizes (cm_CountDirContent), if any of the folders in question are being written to,
then the size calculation gets cleared and goes back to < DIR >.

Not sure if this qualifies as a bug, or a (mis)feature, but its definitely annoying. . .

Perhaps an asterisk could be added to the size calculation to indicate it has changed, instead of clearing it completely?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is done to tell the user that the number is no longer valid. any better ideas? Since the refresh messages come in quite often, I cannot recalculate the value in the background all the time, this would be very slow with big subdirs...
Author of Total Commander
https://www.ghisler.com
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

The asterisk after the size (though looks like before the size is easier to notice, and looks better) -- so if it was:

Code: Select all

[cache4]                               120,000 k
Then:
[cache4]                               *120,000 k
OR:
[cache4]                               +120,000 k
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

I agree: A semiprecious number is even better than none.

What about:

Code: Select all

[cache4]                               ~120,000 k
#5767 Personal license
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Right, the "approximate" symbol in math ;=)
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will add it to my wish list.
Author of Total Commander
https://www.ghisler.com
Post Reply