Page 1 of 1

Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 29 Jul 2026 15:56
by daniel_m
Folder sizes that were calculated for individual folders with Shift+F5 get discarded after a list refresh when Auto-Refresh is enabled. This seems like a good idea when doing a full list refresh with F5 or when switching to a different folder and back. But it seems unnecessary or counterproductive when a list refresh was triggered by creating/deleting/moving a file/folder in the current list.

An example would be to calculate the sizes of several folders to decide which ones to delete or move. Deleting/moving one of these folders will discard the folder sizes of all the other folders of interest.

I guess it might be difficult or too costly for XYplorer to monitor whether the folders with folder sizes have changed after a list refresh triggered by creating/deleting/moving a file/folder? If so, maybe these folder sizes could get a "~" added to them to indicate that changes were made to the current list and folder sizes could be inaccurate/outdated.

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 28 Aug 2026 10:49
by admin
Tick "Configuration | General | Tree and List | List | Cache folder sizes", problem solved.

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 29 Aug 2026 12:15
by daniel_m
Hm, either I am misunderstanding what caching does or it is a bug ... because I already had "Cache folder sizes" enabled. I use "Calculate Folder Sizes (Shitft+F5)", not the toggle to show all folder sizes.
I tried ::fresh; and it doesn't cache individual folder sizes either. As soon as the list refreshes, the folder sizes are gone.

This is on v28.30.1901 x64, Windows 10, 100%.

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 29 Aug 2026 15:51
by admin
Oh yes, sorry, "Calculate Folder Sizes (Shitft+F5)" updates the cache. Keeping the calculated folder sizes would defy the very purpose of the function.

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 29 Aug 2026 16:40
by daniel_m
admin wrote: 29 Aug 2026 15:51 Keeping the calculated folder sizes would defy the very purpose of the function.
Would you care to elaborate? My use case may be too narrow to see how cached numbers would affect Shift+F5 negatively. On a list refresh, the cached folder sizes could be marked as cached with a "~" character. Additionally, in my case, deleting any folder would not change the folder size of any other folder and therefore calculated folder sizes could remain on screen?

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 30 Aug 2026 09:15
by admin
Okay, sorry. I didn't read carefully enough. :oops: You're right; this could be done and probably should be done. However, it requires some attention to detail to do it right. I don't have time for this right now. Please remind me after the glow-up is complete.

Re: Keep calculated folder sizes (Shift+F5) on list refresh

Posted: 30 Aug 2026 12:53
by daniel_m
admin wrote: 30 Aug 2026 09:15 I don't have time for this right now. Please remind me after the glow-up is complete.
Understandable. I will keep it in mind ... hopefully :biggrin: