Size column width changing with Shift+F5

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
tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Size column width changing with Shift+F5

Post by tomuser »

I'm using Details view and noticed that if I want to see total size of files in subfolders using Shift+F5 then width of this size column also changes. And seems to be depending how many number it needs to write there (= depending on (sub)folders' size). Like it has some hard coded auto-size. Changing between tabs all columns are "jumping" because of that. I actually had bigger width for this column but this "feature" trims it narrower after Shift+F5. Earlier it kept my set width no matter if it had "500" or "5 000 000 000" written in it. I'm not sure from which version it started but surely it wasn't so few versions back. Using XYplorer v19.60.0100, Windows 10 v1809.

Bug or feature?

(Regarding to this it would be nice to have also option to set specific width for columns like we have with line number column)

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Size column width changing with Sift+F5

Post by jupe »

It was added on purpose, so it's not a bug:

Code: Select all

v19.60.0002 - 2019-01-31 16:22
    * View | Calculate Folder Sizes: Now the Size column is always autosized 
      after the calculation is done and shown.

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Size column width changing with Sift+F5

Post by tomuser »

Oh, so it's a feature then.

In that case next question would be: How to turn off this feature? :D

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

Re: Size column width changing with Sift+F5

Post by admin »

What about this refinement if the feature: autosize it if necessary (if not wide enough), but don't make it smaller?

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Size column width changing with Sift+F5

Post by tomuser »

admin wrote: ↑12 Feb 2019 23:31 What about this refinement if the feature: autosize it if necessary (if not wide enough), but don't make it smaller?
It would be better than nothing but I'd still prefer fixed one.

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Size column width changing with Sift+F5

Post by jupe »

One way you could mitigate this issue (even if the above changes are implemented) is by clearing the default shortcut key in CKS, then via UDC set the same Shift+F5 shortcut to run a script, something like this:

Code: Select all

#487; setcolumns("Size.500", 4);

Post Reply