Page 1 of 1

Auto-resize in live filter

Posted: 25 Dec 2018 21:01
by JohnM
Hi all and Merry Christmas! :beer:

I have noticed a little auto-resize glitch, which seems to be caused by doing something that triggers a column auto-resize while a live filter is active. Here's how:
1. Find a folder with some files/folders.
xy test start.PNG
xy test start.PNG (14.01 KiB) Viewed 1103 times
2. Perform a live filter in the LV on a folder which contains some files/folders. Make sure that the filter finds at least one file.
xy add live filter.PNG
xy add live filter.PNG (12.46 KiB) Viewed 1103 times
3. Copy one of the files in the results to a new, longer name. This will cause the LV to auto-resize to accommodate.
xy create new file.PNG
xy create new file.PNG (14.13 KiB) Viewed 1103 times
4. Now delete the new file. This will cause the LV to auto-resize again.
xy delete new file.PNG
xy delete new file.PNG (12.26 KiB) Viewed 1103 times
5. Remove the live filter by pressing ESC. Now the LV shows some columns truncated and in need of auto-resize.
xy after remove live filter.PNG
xy after remove live filter.PNG (13.71 KiB) Viewed 1103 times
Can anyone reproduce this?
Cheers
John

Re: Auto-resize in live filter

Posted: 25 Dec 2018 21:56
by Marco

Code: Select all

v19.40.0106 - 2018-12-03 20:22
    * Live Filter Box: Now "Autosize Columns" will be skipped if the list 
      changes through the Live Filter Box.

Re: Auto-resize in live filter

Posted: 26 Dec 2018 21:41
by JohnM
Hi Marco,

Thanks for the info.

I find it weird that this would be intended behaviour... :?

Re: Auto-resize in live filter

Posted: 27 Dec 2018 00:30
by Marco
Frankly, me too.

Re: Auto-resize in live filter

Posted: 09 Jan 2019 12:42
by admin
Maybe it would be an idea to allow Auto-resize if Live Filter is turned OFF (but not if turned ON)?

PS: Merry Christmas! :beer:

Re: Auto-resize in live filter

Posted: 11 Jan 2019 21:10
by JohnM
admin wrote:Maybe it would be an idea to allow Auto-resize if Live Filter is turned OFF (but not if turned ON)?
Sorry I'm not sure I understand. Do you mean that when the live filter is active do not perform any auto-resizing?

Re: Auto-resize in live filter

Posted: 12 Jan 2019 10:46
by admin
(If Auto-resize is enabled:)

Currently:
- Add a Live Filter: No Auto-resize
- Change a Live Filter: No Auto-resize
- Remove any Live Filter: No Auto-resize

I suggest:
- Add a Live Filter: No Auto-resize
- Change a Live Filter: No Auto-resize
- Remove any Live Filter: Auto-resize

Re: Auto-resize in live filter

Posted: 12 Jan 2019 20:15
by JohnM
Oh I see. Yes I think that will do the trick.

Re: Auto-resize in live filter

Posted: 13 Jan 2019 02:35
by Marco
admin wrote: 12 Jan 2019 10:46 (If Auto-resize is enabled:)

[...]

I suggest:
- Add a Live Filter: No Auto-resize
- Change a Live Filter: No Auto-resize
- Remove any Live Filter: Auto-resize
Makes totally sense to me.

Re: Auto-resize in live filter

Posted: 14 Jan 2019 20:03
by JohnM
Hi Don,

Just tried out the latest beta (19.50.0201) and it looks good. :tup:

Thanks