EverythingToolbar icon indicating copy to clipboard operation
EverythingToolbar copied to clipboard

Issue 75: Autostart of Everything when it's not launched

Open codingonHP opened this issue 3 months ago • 3 comments

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

codingonHP avatar Oct 02 '25 00:10 codingonHP

Hello @srwi Please review when you can Thanks

codingonHP avatar Oct 02 '25 00:10 codingonHP

Thanks @srwi for the review. I was off for couple of days. I will check the PR comments

codingonHP avatar Oct 08 '25 05:10 codingonHP

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 the Initialize method in SearchResultsProvider and set the IsBusy flag 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.

codingonHP avatar Oct 09 '25 15:10 codingonHP