List View slowed down by getting folder sizes

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

List View slowed down by getting folder sizes

Post by MBaas »

I usually work in Details view, but have one folder that benefits from List View, so I use FVS. However, for long(*) time I was wondering about a strange effect when entering the folder, now I know what's happening.
The screenshot gives an idea of what's happening (left pane has folder in its "normal" state, right pane shows folder after entering):
02-08-_2021_10-26-35.png
That special folder has a not such a lot of folders, but LOTS of files - so getting folder sizes takes a lot of time...during which the folders are shown with too wide columns. When browsing over the "future place" of a folder name, that name is then drawn - as it happened with "ConfReg-09" and others.

But why is it getting folder sizes anyway in LV (they aren't shown)? Would be most welcome if this behaviour could be improved :wink:
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

Ok, empty folders are drawn in special colour, I see. But still...does it have to take that looong (4-5 secs)?
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

"Show Folder Sizes" is part of the list styles that you can define in a FVS. So turn it off and save your FVS.

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

Ah, thanks! But are we talking of the same? Config > General > "Tree and List" > "Always show filder sizes", right? Turned that off (with that folder active), saved FV settings, used the other pane to navigate to a folder in a different part of the tree and turned it on again, saved - and suddenly folder sizes were recalculated and the other pane (with saved FV settings) was redrawn.
(And also if I navigate (in that panel) to a subfolder and then back to the folder with the saved FV, it recalculates the sizes)

So either I picked the wrong setting - or it does not behave as you think it should.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

I meant this: Tools | Customize List | Show Folder Sizes

If you tick Configuration | General | Tree and List | List | Always show folder sizes then it does not help though. :|

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

Ah, makes sense - except: this has been unticked all the time and still is!
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

Good, then it should work as I suggested.

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

Eh, don't understand. If it's already NOT set and I still see the delay "Calculating foldersizes" - how could I turn if off and get rid of the delay...?
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

1) untick Tools | Customize List | Show Folder Sizes
2) save your FVS
3) ensure that FVS includes List Style

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

1) was unticked
2) saved
3) yes, it is included.

And it seems now the time needed for "Calculating folder sizes" got longer - and suddenly columns get smaller (which is nice). (ah, but meanwhile I upgraded to 22.10.0014)
02-08-_2021_15-09-49.png
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

What if you turn off Color Filters?

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

With the global setting in Config? That doesn't seem to have an impact.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: List View slowed down by getting folder sizes

Post by admin »

In the meantime I checked the code: it is impossible that folder size calculation is triggered if both "Always show folder sizes" and "Tools | Customize List | Show Folder Sizes" are disabled. (My Color Filters idea was rubbish.)

So, recheck your setup.

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: List View slowed down by getting folder sizes

Post by MBaas »

Ok, right. So I went to C:\ and checked "Tools | Customize List | Show Folder Sizes" and then disabled it in the FVS for C:\Git - now the columns are immediately shown with the right width (no more delays)!

Thanks for your patience! :tup:
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Post Reply