microsoft / microsoft/PowerToys

CmdPal: Package updates can leave stale and duplicate extension activations

Open
#49,890 1 comment 0 reactions 1 assignee View on GitHub

@jiripolasek is already working on this.

Since Aug 14, 2026.

Issue-Bug Needs-Triage Product-Command Palette
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.