Page 1 of 1

cm_CountDirContent when Refresh Panel enabled.

Posted: 2010-07-26, 21:02 UTC
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?

Posted: 2010-07-27, 14:43 UTC
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...

Posted: 2010-07-27, 16:04 UTC
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

Posted: 2010-07-27, 19:47 UTC
by sqa_wizard
I agree: A semiprecious number is even better than none.

What about:

Code: Select all

[cache4]                               ~120,000 k

Posted: 2010-07-27, 19:54 UTC
by Balderstrom
Right, the "approximate" symbol in math ;=)

Posted: 2010-07-28, 15:30 UTC
by ghisler(Author)
I will add it to my wish list.