Author Topic: Column autosizing in List view  (Read 294 times)

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Column autosizing in List view
« on: November 04, 2024, 14:56:56 »
Using build 3026 in List view mode.
Sorting and Columns -> Autosize columns is checked.

I have a lot of files with long names that I need to be able to see.

Expected behavior
MC would set the "Name" column width after the longest file/directory name. Or, if the name is very long, the width of the "Name" column would be equal to the width of the panel.

Obvserved behavior
MC badly truncates every name of my files and I can't read the information stored there. Why is this?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4391
    • View Profile
    • Multi Commander
Re: Column autosizing in List view
« Reply #1 on: November 04, 2024, 15:45:41 »
Then you do NOT want autosize on.
Autosize column will adjust the columns to fit into the view, So when you adjust the size of date column for example., it will autosize the other columns so they still fit into the view.

Then you want to disable autosize so you can size the column and get an horizontal scrollbar

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Column autosizing in List view
« Reply #2 on: November 04, 2024, 16:03:49 »
Okay, unchecked the auto size of the columns. I can literally see no difference. It is exactly like the option does not have any effect.
I scroll through the list of files and I see about 50% of the name on all of them.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4391
    • View Profile
    • Multi Commander
Re: Column autosizing in List view
« Reply #3 on: November 04, 2024, 16:19:02 »
Okay, unchecked the auto size of the columns. I can literally see no difference. It is exactly like the option does not have any effect.
I scroll through the list of files and I see about 50% of the name on all of them.

If you uncheck autosize, column should not resize it self when you make them very large.. and you can get a horizontal scrollbar.. that does not happen ?
Then you can dubble click on the divider between Name and the column you have next to it, and it will calculate the minimum size it can be set to change change the size to that
« Last Edit: November 04, 2024, 16:22:13 by Mathias (Author) »

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Column autosizing in List view
« Reply #4 on: November 04, 2024, 17:52:19 »
I am not sure we are on the right track here...  :D

The fact is that if MC wants to show long file names, it has to read the list of files, find the longest and adapt the column width to fit as many characters as possible.

Can you make this an automated process, like in the other file managers?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4391
    • View Profile
    • Multi Commander
Re: Column autosizing in List view
« Reply #5 on: November 04, 2024, 22:05:04 »
I am not sure we are on the right track here...  :D

The fact is that if MC wants to show long file names, it has to read the list of files, find the longest and adapt the column width to fit as many characters as possible.

Can you make this an automated process, like in the other file managers?
If you dubble click on header splitter between column it will auto size it. There is was full automatic before, But it was removed. Too messy when going in and out of folder and columns was resizing all the time automatically.

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Column autosizing in List view
« Reply #6 on: November 05, 2024, 14:33:32 »
So every time I enter a directory where I want to see long names I have to resize the Name column by double clicking the splitter?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4391
    • View Profile
    • Multi Commander
Re: Column autosizing in List view
« Reply #7 on: November 05, 2024, 16:40:42 »
So every time I enter a directory where I want to see long names I have to resize the Name column by double clicking the splitter?

If they are so long that they do not normally fit in the view.. you can also temporary switch to 100/0 view to use full with or go Top/Bottom splitting instead of left/right

Constant autosize the column every time you navigated in and out of folder made people kind of dizzy. specially if you navigate using keyboard and go fast in and out. So it was disabled.



Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 536
  • Old Skull
    • View Profile
Re: Column autosizing in List view
« Reply #8 on: November 05, 2024, 20:16:00 »
What about optional wordwrap, multiline ?

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Column autosizing in List view
« Reply #9 on: Yesterday at 07:46:36 »
I don't know about displaying the files on multiple lines. Wouldn't this create a very busy list, difficult to read, when the names of the files are of different lengths? Some of them would wrap on 2-3 lines, and some of them would remain one line?

Different workarounds can be found. But the fact remains: MC does not know how to handle files with long names. And in a world full of files with long names, this is a big problem, a bug. I am petitioning here for the fixing of this bug.

ags

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Column autosizing in List view
« Reply #10 on: Yesterday at 08:47:18 »
I know of and use or used the following orthodox file managers and they all know how to display long names, do it well and do it fast, without any problems or manual intervention:

- Total Commander
- Double Commander
- FreeCommanderXE
- EF Commander
- Speed Commander
- Unreal Commander
- Frigate
- ViewFD
- Far Manager
- Necromancer's Dos Navigator

How could practically anybody in the world have found a way to properly do an important task, but MC?