Remember calculated Folder Size within the session.

Features wanted...
Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Remember calculated Folder Size within the session.

Post by Evolve »

If the option "Always show folder size" is disabled, calculated folder size doesn't survive changing current location or switching the tab even if the option "Cache folder size" is enabled. Please make XY remember calculated Folder Size within the session.

xskpY98CQ5.gif
xskpY98CQ5.gif (144.87 KiB) Viewed 2165 times

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

Possible implementation:

1. Make the manual calculation provide info for the cache.
2. Turn "Always show calculate folder size" into auto calculation.

21.11.02 10꞉32꞉59 draw.io.png
21.11.02 10꞉32꞉59 draw.io.png (35.48 KiB) Viewed 2066 times

3. Add "Clear cache on exit" option / tweak.

eil
Posts: 1609
Joined: 13 Jan 2011 19:44

Re: Remember calculated Folder Size within the session.

Post by eil »

Cache for folders size is already implemented. Configuration - Tree and List - Cache folder sizes.
Win 7 SP1 x64 100% 1366x768

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

eil wrote: 02 Nov 2021 09:06 Cache for folders size is already implemented. Configuration - Tree and List - Cache folder sizes.
I know that.

Clarification of the terminology:
Evolve wrote: 14 Oct 2021 10:42"Always show folder size"

Code: Select all

Configuration > General > Tree and List > List > Always show folder sizes
Evolve wrote: 14 Oct 2021 10:42"Cache folder size"

Code: Select all

Configuration > General > Tree and List > List > Cache folder sizes
Evolve wrote: 02 Nov 2021 08:38manual calculation

Code: Select all

View > Calculate Folder Size

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

Re: Remember calculated Folder Size within the session.

Post by admin »

The current behavior is part of the original design from v16.70.0002 - 2016-05-04 21:08:

Code: Select all

      - How to refresh the cache for certain folders: Simply use menu "View | 
        Calculate Folder Sizes" (Shift+F5). This command will refresh the cache 
        for all selected folders, or for all folders in the list if none is 
        selected.

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

Re: Remember calculated Folder Size within the session.

Post by admin »

I thought about it and came up with the following (next beta):

Code: Select all

    + List | Size Column Context Menu: Added command "Refresh Folder Sizes". Use 
      this command to calculate the actual folder sizes for the current list and 
      refresh the cache (if caching is enabled).
    * View | Calculate Folder Sizes: This command now pulls the folder sizes 
      from the cache, if any. To get fresh folder sizes, now use the new "Update 
      Folder Sizes" command (see above).

autocart
Posts: 1243
Joined: 26 Sep 2013 15:22

Re: Remember calculated Folder Size within the session.

Post by autocart »

I don't think Evolve is asking for either a folder size cache, eil, nor for how to refresh it, Don. And also not really for a manual refresh to access the cache to be "faster".

As I understand it, he wants to have manually calculated folder sizes behave like "Always show folder size for the manually calculated folders during the current session".
So far, a manual refresh is designed to be a cache refresh at the same time. But only when it has to be triggered. What Evolve is asking is that he should not have to trigger it over and over again, when switching tabs or folders. But he also does not want to "Always show folder sizes" everywhere all the time.

I must say it does make a lot of sense.

EDIT:
He wants to have to manually calculate a folder size only one time per session (even when changing tabs/folders).

autocart
Posts: 1243
Joined: 26 Sep 2013 15:22

Re: Remember calculated Folder Size within the session.

Post by autocart »

Evolve,
I am not sure if that would be good enough for you, but:
You could use Tools | Customize List | Show Folder Sizes for the folders where you want to see it and then save the folder view settings for these folders with "View | Folder View Settings | Save Folder View".
Then it will be shown only inside that folder. Automatically, even remembered across sessions. If you have Cache turned on, I guess, it will use it.
Inside other folders no folder sizes are shown (if you have the general setting off).

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

The idea is to make the manual calculation (View > Calculate Folder Size) the boss, and the auto calculation (“Always calculate folder sizes”) - its special case, triggered (or not) as described on the diagram. This way we're not losing any behavior variation currently available, there will be just more of them. The options you have ticked will be backward compatible. Whether you had both "Always show folder sizes" and "Cache folder sizes" or just "Always..." ticked, XY will behave the same way as it currently does. The difference is that "Cache..." without "Always..." will make sense.

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

autocart wrote: 02 Nov 2021 13:35You could use Tools | Customize List | Show Folder Sizes...
Thanks for the tip! I'm gonna try that.
admin wrote: 02 Nov 2021 12:37I thought about it and came up with the following (next beta):...
Great! Looking forward to see how it's gonna work!

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

Re: Remember calculated Folder Size within the session.

Post by admin »

It's already available in v22.40.0202.

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

There is already a way to get what I want (partially). So there is no need to redo the whole thing.

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

Re: Remember calculated Folder Size within the session.

Post by admin »

So v22.40.0202 is not what you wanted? Anyway, IMO v22.40.0202 is a good improvement. "View | Calculate Folder Sizes" has always written to the cache. Now it also reads from the cache. Folks who are happy with folder size caching should also be happy with this.

BTW, I will rename this command to "Show Folder Sizes Now".

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Remember calculated Folder Size within the session.

Post by Evolve »

What I wanted was already mostly there. It seems that I tend to find stuff out by making uml diagrams, uploading them to the forum and using the community as a search engine, rather than by just opening the app menus myself and looking around.

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

Re: Remember calculated Folder Size within the session.

Post by admin »

Could be an efficient strategy. In this case, it resulted in an improvement that you hadn't even thought of.

Post Reply