Why is separate search in a search result not supported?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 6014
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Why is separate search in a search result not supported?

Post by *white »

HISTORY.TXT wrote:28.08.13 Fixed: Search in separate process: Show "Not supported" error when user tries to search in a search result (32/64)
What was the reason for this change in beta 2?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is quite easy to add support for search in selected files/folders and in search results: simply pass filelist to second instance.

E.g. TC may pass two paths to second instance, one for reqular search and second one for 'only selected': "F:\" "@C:\TEMP\123.LST" (two file lists should be sent in case of search in results when there is a selection). TC already supports searching in filelists so only a tiny change is required.
User avatar
white
Power Member
Power Member
Posts: 6014
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

MVV wrote:I think it is quite easy to add support for search in selected files/folders and in search results
Sorry if I was not clear. I meant when no files are selected. Alt+F7 works, why not Shift+Alt+F7?

The "search in" field is empty when doing Alt+F7. Does that have anything to do with it? That there is no default folder to search in when doing Shift+Alt+F7?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is the lifetime of the temp file by which TC would pass the list. Also search in foreground uses more than just the names from the selected files, so it would require more changes to make this work.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 6014
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

white wrote:Sorry if I was not clear. I meant when no files are selected. Alt+F7 works, why not Shift+Alt+F7?

The "search in" field is empty when doing Alt+F7. Does that have anything to do with it? That there is no default folder to search in when doing Shift+Alt+F7?
LOL, I didn't notice the search was done in the search results when nothing is selected. I thought I had to first select all search results for that. Suggestion: Display "(Search results)" in the search in field instead of nothing.

I find it odd that when a panel contains search results, I cannot start an independent search window, enter something in the search in field and start searching. Suggestion: Allow separate search and fill Search in field with c:\ (or folder displayed in panel before search results?).
Post Reply