Page 1 of 1

Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-17, 12:22 UTC
by DrShark
Currently if after finishing the search in internal Find Files tool (cm_SearchFor) the if to close window with Esc key, the "Cancel" or "Go to File" buttons, on next restart of Find Files the Result list window with all items found in previous search is restored.

However, if to use "Feed to listbox" button, next time Find Files starts in New search mode without Result list window of previous search. I suggest to restore Result list window in this case too.

Currently the workaround is to use Find Files in separate process (cm_SearchStandalone, Alt+Shift+F7), which window and its Result list are not closed after pressing Feed to listbox there, but obviously this workaround is not always that convenient and has own limitations.

Of course, if there are hundreds or thousands items in the Result list window, reopening of Find Files can take some time (which especially on slow machines could be significant enough to become annoying), so I suggest also to show additional modal window with Cancel button if the list is not loaded during some short time (maybe few seconds by default, but it should be customizable).

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-17, 19:04 UTC
by ghisler(Author)
When you use feed to listbox, the result list is used directly in Total Commander, because duplicating it would take a considerable amount of time. Therefore the list is no longer part of the search dialog, and cannot be shown again when re-opening the search dialog.

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-18, 12:59 UTC
by DrShark
ghisler(Author) wrote: 2021-09-17, 19:04 UTC When you use feed to listbox, the result list is used directly in Total Commander, because duplicating it would take a considerable amount of time.
If that "considerable time" is more or less the same as when using "Feed to listbox" in Find Files launched as a separate process or when duplicating a tab with Search results view using Ctrl+T, I wouldn't say it's a big deal. Much more time is usually needed if to destroy the Search results view in panel by accident (e.g. by pressing Ctrl+Left or Right in opposite panel instead of one with Search results, or to press BackSpace/Ctrl+R in panel with Search results, because when working in both panels it's not easy to always keep attention on which panel has a focus after each action) and then configure Find Files from fresh to repeat the same search, and wait until it will be finished...

Of course it won't be a problem if keeping the search results in Result list window of Find Files tool after pressing "Feed to listbox" will be an optional feature, configurable directly in wincmd.ini (I would prefer to have such a behavior by default as more safe one, with an option to disable it and return the old default behavior in case if user prefers faster feeding to listbox).

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-21, 18:48 UTC
by hi5
Would it be an idea to add Tabs to the search results section so you can create a new Tab, do a search, and the results are kept in that Tab in between sessions until you close the Tab? So you can have multiple search results in the Find Files window.

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-22, 06:08 UTC
by Stefan2
Perhaps good enough for some situation:
You can hold the Shift-key while clicking on [feed to listbox] to open the search result always in a new tab.






 

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-23, 01:16 UTC
by jinsight
Tabs for Search Results - Support++

Re: Find Files (Alt+F7): after Feed to listbox, keep Result list with old search results for new Find Files start

Posted: 2021-09-23, 06:29 UTC
by Horst.Epp
Tabs for Search Results as default
Support++