microsoft / microsoft/PowerToys

CmdPal: fallback order unsynced access to command list during reload

Open
#45,161 1 comment 0 reactions 0 assignees View on GitHub
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

0.97

### Installation method

PowerToys auto-update

### Area(s) with issue?

Command Palette

### Steps to reproduce

Command Palette fallback order operates on the top-level command list while it is still loading. As a result, the list may be incomplete, which can cause the saved state to be trimmed against a partially loaded command set.

How to break it?

1. Install a large number of extensions.

1. Quit Command Palette.

1. Launch Command Palette again.

1. While extensions are still loading, change the fallback order.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Additional Information

_No response_

### Other Software

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with Command Palette's fallback-order handling and the extension-loading path described in the reproduction steps. Reproduce with many extensions, relaunch Command Palette, and change the fallback order while loading. Done means fallback order does not use an incomplete command list and saved state is not trimmed against partially loaded commands.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.