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

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

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

Post 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).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

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

Post 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).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
hi5
Power Member
Power Member
Posts: 550
Joined: 2012-11-03, 11:35 UTC
Contact:

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

Post 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.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
Stefan2
Power Member
Power Member
Posts: 4124
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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.






 
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

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

Post by *jinsight »

Tabs for Search Results - Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post by *Horst.Epp »

Tabs for Search Results as default
Support++
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply