Issue 75: Autostart of Everything when it's not launched
Ref: https://github.com/srwi/EverythingToolbar/issues/75
Changes:
- Add a new class EverythingProcessHelper to manage Everything process related actions like process status and start.
- Hook
EnsureRunning()whenever SearchWindow is Activated - Add progress bar to indicate background progress of Everything startup
Hello @srwi Please review when you can Thanks
Thanks @srwi for the review. I was off for couple of days. I will check the PR comments
Hi @codingonHP, thanks for the contribution and for taking on the oldest unresolved issue. 🙂
I tried your changes and while they do work, there is a small issue: When opening the search window while Everything is not already running in the background, the search UI freezes while Everything is starting up. Because of that I was not able to see the progress bar at all. This may not be as noticable for users who use Everything often (short startup times), but for those who rarely use it, the program will usually start by reindexing the database, which causes the freeze to last much longer.
Instead of adding a new progress bar to the UI, I think you can reuse the existing busy indicator in
SearchResultsView. To do that, you can integrate your code into theInitializemethod inSearchResultsProviderand set theIsBusyflag to true while Everything is starting up.
I have tried adding IsBusy in SearchResultProvider but I do not see any progress indicator. Can you please here. I would like to keep the start of the process in OnActivated because Everything can be stopped anytime by the user. This gives a chance to EvertythingToolbar start the Everything process again.