microsoft / PowerToys

Windows system utilities to maximize productivity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PowerToys Run unable to find newly installed applications

finish06 opened this issue · comments

What index or similar feature does PowerToys Run use to find files, directories and applications? I have updated my index to search %appdata%, yet PowerToys still fails to find applications such as Discord which install in username/%appdata%.

Thank you for any and all insight!

@finish06 I just want to clarify here, how was Discord installed? Is it installed while PowerToys is running?

@jyuwono - Discord was installed via winget first and failed. Then Discord was uninstalled and reinstalled via the package on the Discord website. In both situations, Powertoys was running when Discord was installed. Additionally, about 2 days ago, Discord and Slack, which are both installed in my user %appdata% directory showed in PowerToys Run. It appears there was a substantial lag time in PowerToys finding them however as I have no upgraded. I am on the latest version, 18.1.

think this sounds like caching issue. getting caching updated when programs are installed / uninstalled

@crutkas Has this been adjusted in the code?

not yet, something we're going to do before 0.19. We think we know how to do the work for both styles of apps, packaged vs non-packaged

@finish06 can you try closing PowerToys and deleting the the PowerToys Run cache (C:\Users<UserName>\AppData\Local\Microsoft\PowerToys\PowerToys Run), and then starting PowerToys again. This should ideally be fixed in the next release, but deleting the cache should work as a temporary fix for now.

@arjunbalgovind - Deleting the cache did the trick and two missing applications are now available.

if that did this, then #4424 will solve this problem.

@crutkas this won't solve the core cause in this issue, which is apps installed while PowerToys is running. #4424 only fixes upgrade path cache issues.

This was the work then @ryanbodrug-microsoft was working on ... for at least shifting to package manager for packaged apps

We just released 0.20 and this should be resolved there. Please try it out.