List View does not show the complete file name

Things you’d like to miss in the future...
Post Reply
Karthik
Posts: 5
Joined: 15 Oct 2021 18:25

List View does not show the complete file name

Post by Karthik »

Hello.

In the "List View" mode (View -> Views -> List), file names are truncated for files with long names.

Here's an example screen shot.
Screenshot of the file name being truncated.
Screenshot of the file name being truncated.
XYplorer-Long-Filename.png (3.19 KiB) Viewed 233 times
It looks like the width assigned is static & used for all the tabs. Also, the width used is the same width set/specified in the "Details View" mode (View -> Views -> Details).

IMO, for List View, the width should be calculated based on the length of the filename for all the files in that folder, every time you switch to a new folder.

Regards,
Karthik

PS: Thank you for the great app.

highend
Posts: 11091
Joined: 06 Feb 2011 00:33

Re: List View does not show the complete file name

Post by highend »

And that is done when "Configuration | Colors and Styles | Styles | Columns | Autofit the width of the Name column" is ticked (needs v22.30.0200)
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Karthik
Posts: 5
Joined: 15 Oct 2021 18:25

Re: List View does not show the complete file name

Post by Karthik »

Thank you very much for your response highend.

I moved to v22.30.0200, but the issue persists. Screenshot of configuration attached.
Configuration window.
Configuration window.
XYPlorer-Autofit-Name-Width.png (39.63 KiB) Viewed 215 times
Any suggestions?

highend
Posts: 11091
Joined: 06 Feb 2011 00:33

Re: List View does not show the complete file name

Post by highend »

Show a full screenshot with that long file (with all column headers)
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Karthik
Posts: 5
Joined: 15 Oct 2021 18:25

Re: List View does not show the complete file name

Post by Karthik »

I assume you want the "Details View". Screenshot below.
Details View.
Details View.
XYPlorer-Details-View-1.png (8.85 KiB) Viewed 180 times
However, after I switch to a different tab & switch back to this tab, it appears to have resized the Name column. But the column width is still not sufficient.
Details View after tab switch.
Details View after tab switch.
XYPlorer-Details-View-2.png (6.59 KiB) Viewed 180 times
When I am in the "List View", the Name is not resized, even with the Autofit setting enabled.

Looks like there are 2 issues:
(1) Details View not adequately sizing the name column for very long filenames (it does that to some extent but not in all cases).
(2) Autosize setting not applying for the List View.

Hope this makes sense.

highend
Posts: 11091
Joined: 06 Feb 2011 00:33

Re: List View does not show the complete file name

Post by highend »

I wanted the full screenshot...

The name column is only resized up to that space that can be taken (which is not filled by all other existing columns) and I can't judge if that is what happens in your case because I can't see the right window border^^

Imho nothing else makes sense, columns shouldn't be pushed out of sight just because of an autosizing name column.
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Karthik
Posts: 5
Joined: 15 Oct 2021 18:25

Re: List View does not show the complete file name

Post by Karthik »

Ahhhh. That makes sense highend. My XYPlorer window was too narrow. When I made it wider, the autofit worked.

Well... it sort of worked, because it appears that logic used to calculate the column width for "List View" is the as that for the "Details View". ie, even though "List View" essentially has just the "Name" column, the width constraints used are the same is what is used for the "Details View", which is not intuitive.

It would be great if this is treated as a bug & fixed in the future release.

IMO, for List View, width assigned to filename should be calculated based on the length of the filenames for all the files in that specific folder, every time you switch to a new folder. With this implementation, if I navigate to a folder that has files with short filesnames, you can display more files in the visible area, since the width assigned would be smaller.

Thank you for your help. This makes XYPlorer more usable for me.

highend
Posts: 11091
Joined: 06 Feb 2011 00:33

Re: List View does not show the complete file name

Post by highend »

width assigned to filename should be calculated based on the length of the filenames for all the files in that specific folder, every time you switch to a new folder
That wouldn't make sense. You don't want to enter a folder with 100k files and wait until the longest file name length was calculated^^
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Karthik
Posts: 5
Joined: 15 Oct 2021 18:25

Re: List View does not show the complete file name

Post by Karthik »

highend wrote: 16 Oct 2021 01:34
width assigned to filename should be calculated based on the length of the filenames for all the files in that specific folder, every time you switch to a new folder
That wouldn't make sense. You don't want to enter a folder with 100k files and wait until the longest file name length was calculated^^
Fair enough. I will live with the current design. :) Thanks for your time.

Post Reply