microsoft / microsoft/PowerToys

Command Palette doesn't store results ordering.

Open
#48,820 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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.100.0

### Installation method

WinGet, PowerToys auto-update

### Area(s) with issue?

Command Palette

### Steps to reproduce

* Type in a regular program/application search in CP.
* Select any result besides the 1st one.
* Press enter to open the app.
* Close the app.
* Call CP again and type the same input in.
* The app will be the top result or, at least, closer to the top.
* Close and reopen PT.
* Call CP again and type the same input in.
* The app's position will be reset.

### ✔️ Expected Behavior

CP should retain ordering of search results between sessions.

### ❌ Actual Behavior

Ordering isn't kept.
I've experienced this with updates and machine reboots, so far.

### Upload Bug Report ZIP-file

[PowerToysReport_2026-06-23-19-32-53.zip](https://github.com/user-attachments/files/29270075/PowerToysReport_2026-06-23-19-32-53.zip)

### Additional Information

* Microsoft Windows 10 IoT Enterprise LTSC (x64) Build 19044.7417 (21H2)
* Currently installed "classic" .NET Versions in the system:
2.0.50727.4927 Service Pack 2
3.0.30729.4926 Service Pack 2
3.5.30729.4926 Service Pack 1
4.0.0.0
4.8.04084
* en-UK
* Machine-level installation.
* Run as admin.

### Other Software

N/A

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.

Research direction

Start by reproducing the ordering behavior in Command Palette using the listed search, selection, close, and restart steps. Trace how Command Palette records result ordering and whether that state is restored after PowerToys restarts; done means the selected application retains its ordering across sessions.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.