Folder size doesn't stick in the cache

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Folder size doesn't stick in the cache

Post by LittleBiG »

As you can see, the Calculate Folder Sizes button shows the size of the Program Files folder, but somehow it is not cached. (Anyway, I have no idea how that small number (174 byte) appeared. Maybe a cancelled calculation was saved earlier.)
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder size doesn't stick in the cache

Post by admin »

:? Cannot reproduce.

Is this the only folder that behaves like this?

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Folder size doesn't stick in the cache

Post by LittleBiG »

It has already happened with an other folder, but I couldn't report it because after a couple of refresh in the end the correct size was registered in the cache.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder size doesn't stick in the cache

Post by admin »

Maybe you were too quick and the calculation was not finished yet.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Folder size doesn't stick in the cache

Post by LittleBiG »

Sorry, I have just found the culprit. I had a PFA item for jumping through the folders containing only one folder to reach the first meaningful subfolder quickly. Somehow this interfere with folder size caching.

Code: Select all

"Browse Folder" \>::$item = "<pfaitem>"; while (FolderSize($item, '<d>+<f>', 0) == '1+0') { $item = ListFolder($item, '*', 2); } goto $item;
So it probably means that using folder size caching I have to leave this handy workaround :(

Post Reply