microsoft / microsoft/PowerToys
CmdPal: Package updates can leave stale and duplicate extension activations
@jiripolasek is already working on this.
Since Aug 14, 2026.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
main
### Installation method
Dev build in Visual Studio
### Area(s) with issue?
Command Palette
### Steps to reproduce
1. Run CmdPal with a packaged extension installed.
1. Update the extension while CmdPal is running.
1. Observe package update handling and extension activation.
1. Cry.
### ✔️ Expected Behavior
CmdPal removes the _source_ package version and activates each target AppExtension/CLSID once.
### ❌ Actual Behavior
`PackageUpdating` uses `TargetPackage` for both removal and installation, leaving the source wrapper alive.
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.