Confusing folder's size calculation with "Ignore List&q

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
yvlad
New Member
New Member
Posts: 1
Joined: 2010-09-13, 18:18 UTC

Confusing folder's size calculation with "Ignore List&q

Post by *yvlad »

TC 5.55a doesn't take into account "Ignore list" when calculates size of the folder (it includes ignored files / folders to calculation).

How to reproduce:
create a new folder and add two files there. Add one file to "Ignore List" (Options->Ignore List). It becomes invisible in the TC (OK). But if you will calculate the folder size (either by SPACE or CTRL+L command) it will show you taken by two files (error?).
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is not a bug but by design (or just unsupported feature). Folder size is calculated w/o taking ignore list into account.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I think it's by design, and preferred behaviour. I don't see any reason for calculate dir size to ignore files that really do exist...
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it's by design, but it's debatable whether there should be a switch to change that behaviour.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sometimes it would be useful to calculate size of folder NOT including size of ignored items. E.g. before copying/packing since TC doesn't copy/pack ignored items.
a switch to change that behaviour
I think a switch for Space/Ctrl+L and a pair of internal commands: one that will always calculate entire size and other one that will always calculate taking ignore list into account.
Post Reply