Page 1 of 1

Stop search results list refreshing when deleting file

Posted: 20 Jan 2019 00:39
by Millzey
An option to not have search results update when deleting one or multiple files one after another would be helpful here. Everytime I delete a file it reruns the entire search. A cached search of about 170,000 files is only taking about 4-5 seconds but I lose my place in the list and have to wait.

I could select all the files I want to delete first, but, one or two at a time allows me to go to a different task and come back without worrying about losing selection or the search results, or forgeting to delete. Then I can continue down the search results list repeating select and delete.

Re: Search results wont refresh when deleting file

Posted: 20 Jan 2019 00:45
by highend
Search result caching is enabled and the maximum number of items is set to 0?

Re: Search results wont refresh when deleting file

Posted: 21 Jan 2019 12:51
by Millzey
Yep.

Re: Search results wont refresh when deleting file

Posted: 16 Feb 2019 21:16
by admin
Not to refresh after a delete would be confusing and look like a bug.

Re: Search results wont refresh when deleting file

Posted: 17 Feb 2019 03:14
by Millzey
If the delete operation could remove successfully deleted items from the search results without rerunning the search that would be a major help. If thats programatically reasonable, then maybe forcing a refresh of the search results after a tweakable about time like 5 minutes since it was last refreshed would then avoid any undesired confusion. Probably alot to ask for I know but if you cant perform delete or rename on a search that encompasses many files without it searching all over again it makes the search feature really frustrating to work with.

Re: Search results wont refresh when deleting file

Posted: 17 Feb 2019 03:18
by jupe
FYI you could get the behavior you are wanting by scripting your search and putting the results into a paperfolder, it would only be a couple scripting lines.

And if you didn't want to script the whole thing (including the searching) below is a quick example, because if you did it like this example you would just run your search as per normal and then with the search results tab active, run this: paperfolder("SearchResults", listpane(), "|");

Re: Search results wont refresh when deleting file

Posted: 17 Feb 2019 10:08
by admin
Millzey wrote: 17 Feb 2019 03:14 If the delete operation could remove successfully deleted items from the search results without rerunning the search that would be a major help. If thats programatically reasonable, then maybe forcing a refresh of the search results after a tweakable about time like 5 minutes since it was last refreshed would then avoid any undesired confusion. Probably alot to ask for I know but if you cant perform delete or rename on a search that encompasses many files without it searching all over again it makes the search feature really frustrating to work with.
Now that you say it: This is already happening! Since 20050219!

So the question is: Why doesn't it work in your case? :eh: