PowerToys Run: Uninstalled apps still show

Created on 21 May 2020  路  8Comments  路  Source: microsoft/PowerToys

Environment

Windows build number: 10.0.18363.836
PowerToys version: v0.18.0
PowerToy module: PowerToys Run

Steps to reproduce

  1. Uninstalled a program
  2. Open PowerToys Run and search for that program
  3. Program still appears in list

Expected behavior

Uninstalled programs should not still be listed in programs list.

Actual behavior

It's listed.

Things I've tried

  • Restarting PowerToys
  • Turning PoweToys Run off then on again
  • Restarting computer
  • Ran Windows disk cleanup

Screenshots

image

(RIP Wox <3)

Issue-Bug Product-Launcher Resolution-Fix-Committed

Most helpful comment

To expand on that last comment, I ran this in PowerShell:

```powershell
move "$Env:UserProfileAppDataLocalMicrosoftPowerToysPowerToys RunCache" "$Env:UserProfileAppDataLocalMicrosoftPowerToysPowerToys RunCache_Backup"
````

Then I restarted PowerToys, and uninstalled apps were no longer in my search results. I'm not sure if it breaks anything so you can always move the Cache directory back to where it was before if something seems off.

All 8 comments

agreed. surprisingly, this is harder than it seems to detect :)

@crutkas I imagine there鈥檚 a lot of complexities to consider for Run but overall I鈥檓 really enjoying it so far!

automated detection is surely hard, but if there was a way to force refresh at least that'd be really helpful

If anyone stumbles upon this and wants a temporary, hacky solution before they release fixes in the future, I've discovered that you can find the history JSON files at:
%userprofile%/appdata/local/microsoft/powertoys/powertoys run/settings

To expand on that last comment, I ran this in PowerShell:

```powershell
move "$Env:UserProfileAppDataLocalMicrosoftPowerToysPowerToys RunCache" "$Env:UserProfileAppDataLocalMicrosoftPowerToysPowerToys RunCache_Backup"
````

Then I restarted PowerToys, and uninstalled apps were no longer in my search results. I'm not sure if it breaks anything so you can always move the Cache directory back to where it was before if something seems off.

@alekhyareddy28 / @ryanbodrug-microsoft your two fixes should resolve this, correct?

It would fix it if the app is being installed/uninstalled when Launcher is running. However, we still have the issue of stale cache. If an app is deleted when PowerToys is not running, it would still show up - https://github.com/microsoft/PowerToys/issues/5066.

Should be fixed with 0.21

Was this page helpful?
0 / 5 - 0 ratings

Related issues

verglor picture verglor  路  3Comments

patware picture patware  路  3Comments

xfirf picture xfirf  路  3Comments

niels9001 picture niels9001  路  3Comments

Garconis picture Garconis  路  3Comments