Paginated / progressive search extended by user (vs search continuing indefinitely in background)
Use cases
A user is attempting to search for and open a file.
Desired behavior
Once nautilus is no longer in the foreground (or a file is opened from search, maybe) it doesn't continue searching indefinitely.
Benefits of the solution
Often once I've opened a file from a nautilus search I wonder a few minutes later why my laptop's fans have started spinning up and my battery drain is higher than normal. I check Usage and see nautilus is using a lot of CPU and resources. I then remember that I opened the file from a search and the search is still going...
I think nautilus could potentially stop a search if...
- A file is opened from the search
- Nautilus is no longer in the foreground
There could also a prompt to continue searching. I think something should at least alert the user that a search is still occurring.
A dialog that popped up ~20 seconds after nautilus is no longer in the foreground which said "Do you want to continue searching /x/y/z/?" would be a minimal way to fix this.
Possible drawbacks
If a user wants to run a very large/long search in the background, there would need to be a way to prevent the search from stopping.