Branch view calculates total size incorrectly

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

Branch view calculates total size incorrectly

Post by LittleBiG »

Here it is a long time bug: after clicking on the branch view, the folder structure appears, then XY starts to count folder sizes (XY calculates like mad and also freezes) and after that it comes up with a way higher value than it should. Compare the selection stats and the status bar.
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: Branch view calculates total size incorrectly

Post by admin »

That's also long time known, and it's not a bug but a misunderstanding of the feature. It does what it says: adds the bytes of the currently selected items. It does not care if those items overlap.

If you show foldersizes in a BV you will see the same result in the status bar.

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

Re: Branch view calculates total size incorrectly

Post by LittleBiG »

Nice. In this particular case, getting folder sizes takes about 40 seconds, without chance to cancel. If I let it run, I have to stare at the counting in the status bar. If I try to press ESC, the XY window will be dimmed and I stare at the revolving blue circle... After that process I get a correct but totally unmeaningful result.

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

Re: Branch view calculates total size incorrectly

Post by admin »

Stopping folder sizes by ESC works instantly here.

Anything special about your folders?

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

Re: Branch view calculates total size incorrectly

Post by LittleBiG »

Ok, the only speciality was that I used folder size caching. After I switched it off, I could use the ESC button for cancelling. But when the sizes are coming from the cache, there is no way to cancel.

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

Re: Branch view calculates total size incorrectly

Post by admin »

It took 40 seconds to load values from the cache? :? How can that be?

Post Reply