[Solved] Copied dir doesn't show the size if Automatic only with Everything is set

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: petermad, Stefan2, white, Hacker

Post Reply
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7510
Joined: 2003-02-06, 17:36 UTC
Location: Germany

[Solved] Copied dir doesn't show the size if Automatic only with Everything is set

Post by *Horst.Epp »

After a dir is copied it's size is shown as 0
if the option "Calculate space occupied by subdirectories" is set to
Automatic only with Everything
Everything itself is used in all operations without problems.
If the calculating option is set to one of the other Automatics options it works.
Last edited by Horst.Epp on 2026-05-18, 10:25 UTC, edited 1 time in total.
Windows 11 Home, Version 25H2 (OS Build 26200.8524)
TC 11.58 RC2 x64 / x86
Everything 1.5.0.1414b (x64), Everything Toolbar 2.3.0
QAP 12.3 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52920
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *ghisler(Author) »

This happens because the size of the directory isn't part of the file system, so Everything has to first determine the size of the directory when it is informed about the change. Therefore at the time when Total Commander asks Everything about the new directory size, Everything returns an error. The other options then determine the size internally (not via Everything), which the option "only with Everything" explicitly forbids.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7510
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *Horst.Epp »

I understand
but TC doesn't update even when I use a refresh command much later.
Only when I change away from the parent and go back into it the size of the new dir is updated.
Everything has already the new dir in its index for shure.
For me TC should try Everything again if a refresh is manually requested.
Windows 11 Home, Version 25H2 (OS Build 26200.8524)
TC 11.58 RC2 x64 / x86
Everything 1.5.0.1414b (x64), Everything Toolbar 2.3.0
QAP 12.3 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52920
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *ghisler(Author) »

No, the directory sizes are cached, also when there are no sizes returned by Everything. It would be nice to somehow update this later, but so far I don't know how to know when Everything has the sizes ready.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7510
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *Horst.Epp »

But when I make a cm_RereadSource any cache should be ignored.
Windows 11 Home, Version 25H2 (OS Build 26200.8524)
TC 11.58 RC2 x64 / x86
Everything 1.5.0.1414b (x64), Everything Toolbar 2.3.0
QAP 12.3 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52920
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *ghisler(Author) »

cm_RereadSource is called each time you switch back to Total Commander, so losing the sizes each time would be annoying. But there is a parameter:
cm_RereadSource 1
will force a refresh.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7510
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Copied dir doesn't show the size if Automatic only with Everything is set

Post by *Horst.Epp »

Thanks, that helps.
Windows 11 Home, Version 25H2 (OS Build 26200.8524)
TC 11.58 RC2 x64 / x86
Everything 1.5.0.1414b (x64), Everything Toolbar 2.3.0
QAP 12.3 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52920
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [Solved] Copied dir doesn't show the size if Automatic only with Everything is set

Post by *ghisler(Author) »

Moderator message from: ghisler(Author) » 2026-05-19, 20:07 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
Post Reply