Auto adjust columns widths. 2021-Edition

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Stiltzkin
Member
Member
Posts: 182
Joined: 2004-09-10, 17:15 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Stiltzkin »

tuska wrote: 2021-03-04, 14:44 UTC Back to topic:
If there is any change in this topic ("Auto adjust..."), then I would like to see that this is ONLY OPTIONALLY adjustable.
it's not meant to adjust the columns in its own automatically. its meant to resize the columns to the width of the content automatically when you double-click on the divider.
this is the behaviour in most apps (for example: explorer, excel, everything...)
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *tuska »

Stiltzkin wrote: 2021-03-05, 18:30 UTC
tuska wrote: 2021-03-04, 14:44 UTC Back to topic:
If there is any change in this topic ("Auto adjust..."), then I would like to see that this is ONLY OPTIONALLY adjustable.
it's not meant to adjust the columns in its own automatically.
its meant to resize the columns to the width of the content automatically when you double-click on the divider.
this is the behaviour in most apps (for example: explorer, excel, everything...)
Thank you for pointing this out!
Unfortunately, I have thoroughly misunderstood something.

Of course, I fully support this wish, and also because I myself have wanted this for a long time,
but I have not yet expressed it.

Regards,
Karl
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Usher »

2tuska
That's what I called "adjust on demand", but 2vdijken seems to expect fully automatic adjust on any change.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *tuska »

Usher wrote: 2021-03-06, 00:26 UTC 2tuska
That's what I called "adjust on demand", but 2vdijken seems to expect fully automatic adjust on any change.
My guess (English ist not my native language):
vdijken refers to "fully automatic adjust on any change" and has concerns about this.

However, as we have learned, the proposal is now aimed at "adjust on demand" anyway
(unless I have misunderstood something again).

[I interpret "Auto adjust columns widths" as meaning that the "optimum column width" is set without my intervention.]
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Usher »

2tuska
To be more precise, it is set once (one time only) after your request, without your further (additional) intervention. Right?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *tuska »

Usher wrote: 2021-03-06, 14:22 UTC 2tuska
To be more precise, it is set once (one time only) after your request, without your further (additional) intervention. Right?
Yes, in terms of a View mode (with my saved column widths) with Auto Switch Mode.
In general, I don't want the column widths to adjust automatically each time I switch to a directory.

Therefore, I have already said the following above:
tuska wrote: 2021-03-04, 14:44 UTC If there is any change in this topic ("Auto adjust..."), then I would like to see that this is ONLY OPTIONALLY adjustable.
and I consider the subject of "Auto adjust..." to be closed for me.


But Stiltzkin's proposal is aimed at "adjust on demand" anyway.

I have another suggestion for this - context menu entries:
EDIT: Right click on column header:

Code: Select all

Configure columns...
  |---|   optimal width
  <----   left-justified
  ---->   right justified
  | - |   centered
Last edited by tuska on 2021-03-07, 17:04 UTC, edited 1 time in total.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Usher »

2tuska
Agreed.
Andrzej P. Wozniak
Polish subforum moderator
Stiltzkin
Member
Member
Posts: 182
Joined: 2004-09-10, 17:15 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Stiltzkin »

tuska wrote: 2021-03-06, 17:17 UTC
I have another suggestion for this - context menu entries:
EDIT: Right click on column header:

Code: Select all

Configure columns...
  |---|   optimal width
  <----   left-justified
  ---->   right justified
  | - |   centered
i agree. doublecmd does this pretty well. you can also alter the default column view pretty easily.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *tuska »

Stiltzkin wrote: 2021-03-07, 22:12 UTC ... you can also alter the default column view pretty easily.
A further step would be to be able to move the columns by dragging with the left mouse button pressed.
This is implemented, for example, in the programme MyPhoneExplorer and XYplorer 21.50.0100.
(But I'm certainly not going to start a separate topic on that).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Auto adjust columns widths. 2021-Edition

Post by *ghisler(Author) »

I have added this to Total Commander 10 now, but it currently only works correctly for custom columns other than name and extension.
For name/ext, it only works correctly when name and extension are displayed together. I'm working on that.
Also the size column isn't resized correctly.

For the custom columns, I'm currently only taking those fields into account which have already been loaded when you double click on the separator. To take all into account, you can sort by that column, this force-loads all fields.

Please let me know what you think, and what I should improve.
Author of Total Commander
https://www.ghisler.com
Stiltzkin
Member
Member
Posts: 182
Joined: 2004-09-10, 17:15 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *Stiltzkin »

first: thanks for implementing this.

i tested it a little bit. a couple of things i noticed:

- using the default "full" view:
lets say you double-click to resize the 'name' column and got a long filename. now all your other columns are not shown anymore. you have to resize the whole window. it's a little unintuitive. (maybe show a vertical scrollbar when columns are pushed out of sight. or any other indicator that there are more columns not shown right now)


i think the abily to justify/align/fixate columns (mentioned in the posts above) would fit very well with this.
maybe even the ability to lock a certain column width.


i also noticed that a custom column '[=dirsizecalc.File Count] |' isn't correctly sized on double-click.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Auto adjust columns widths. 2021-Edition

Post by *ghisler(Author) »

You are right, I should limit the maximum width in full view.
i also noticed that a custom column '[=dirsizecalc.File Count] |' isn't correctly sized on double-click.
Could you send me a screenshot to support at ghisler dot com, please?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Auto adjust columns widths. 2021-Edition

Post by *tuska »

I also noticed the following:
If the column header is wider than the result of the field content,
then the width of the field content is adjusted after double-clicking so that the entire field content is visible.
However, the width of the column heading is not adjusted, i.e. it is cut off after the last character of the field content.

Example:

Code: Select all

Ausrichtung der Feldinhalte:	<-
Autor				[=shelldetails.Autor]
Erstelldatum 			[=tc.creationdate.D.M.Y h:m:s]
Letztes Änderungsdatum		[=tc.writedate.D.M.Y h:m:s]	<-- Attention to this column heading in the examples!
Zugriffsdatum			[=tc.accessdate.D.M.Y h:m:s]
Starting position/Ausgangsposition

Code: Select all

Name/Erw.		Autor Erstelldatum	   letztes Änd  Zugriffsdatum
[AddIn]			      21.10.2012 12:52:39  24.11.2019.. 10.04.2021 13:59:45
[Makros]		      21.10.2012 12:52:40  15.03.2021.. 10.04.2021 14:34:41
[Migration]		      07.07.2020 12:44:22  07.07.2020.. 10.04.2021 14:34:41
[WINWORD_VORLAGEN]	      21.10.2012 12:52:40  24.04.2020.. 10.04.2021 14:34:41
KLANG.DOC		      21.10.2012 12:52:42  05.04.1996.. 10.04.2021 10:29:48
Kreissymbol.doc		KY    21.10.2012 12:52:42  24.09.2005.. 10.04.2021 10:29:48
Sonderzeichen.doc	KY    21.10.2012 12:52:42  06.07.2003.. 10.04.2021 10:29:48
Double-click on column separator between modification date/letztes Änderungsdatum and access date/Zugriffsdatum - result:

Code: Select all

Name/Erw.		Autor Erstelldatum	   letztes Änderungsda Zugriffsdatum
[AddIn]			      21.10.2012 12:52:39  24.11.2019 14:50:24 10.04.2021 13:59:45
[Makros]		      21.10.2012 12:52:40  15.03.2021 11:57:30 10.04.2021 14:34:41
[Migration]		      07.07.2020 12:44:22  07.07.2020 12:44:31 10.04.2021 14:34:41
[WINWORD_VORLAGEN]	      21.10.2012 12:52:40  24.04.2020 13:43:53 10.04.2021 14:34:41
KLANG.DOC		      21.10.2012 12:52:42  05.04.1996 13:15:54 10.04.2021 10:29:48
Kreissymbol.doc		KY    21.10.2012 12:52:42  24.09.2005 10:35:12 10.04.2021 10:29:48
Sonderzeichen.doc	KY    21.10.2012 12:52:42  06.07.2003 20:52:38 10.04.2021 10:29:48
That is how it should be in my opinion:

Code: Select all

Name/Erw.		Autor Erstelldatum	   letztes Änderungsdatum Zugriffsdatum
[AddIn]			      21.10.2012 12:52:39  24.11.2019 14:50:24    10.04.2021 13:59:45
[Makros]		      21.10.2012 12:52:40  15.03.2021 11:57:30    10.04.2021 14:34:41
[Migration]		      07.07.2020 12:44:22  07.07.2020 12:44:31    10.04.2021 14:34:41
[WINWORD_VORLAGEN]	      21.10.2012 12:52:40  24.04.2020 13:43:53    10.04.2021 14:34:41
KLANG.DOC		      21.10.2012 12:52:42  05.04.1996 13:15:54    10.04.2021 10:29:48
Kreissymbol.doc		KY    21.10.2012 12:52:42  24.09.2005 10:35:12    10.04.2021 10:29:48
Sonderzeichen.doc	KY    21.10.2012 12:52:42  06.07.2003 20:52:38    10.04.2021 10:29:48

Windows 10 Pro (x64) Version 20H2 (OS build 19042.906) | TC 10.00b5 x64/x86
Post Reply