Repository navigation
Open
Labels
Help WantedWe encourage anyone to jump in on these and submit a PR.We encourage anyone to jump in on these and submit a PR.Issue-BugSomething isn't workingSomething isn't workingPriority-2Bug that is medium priorityBug that is medium priorityProduct-Command PaletteRefers to the Command Palette utilityRefers to the Command Palette utility
Description
Microsoft PowerToys version
0.90.0
Installation method
PowerToys auto-update
Area(s) with issue?
Command Palette
Steps to reproduce
Open Install Command Palette extensions
✔️ Expected Behavior
❌ Actual Behavior
Based on the logs, CmdPal only found 9 packages with windows-commandpalette-extension tag
Log
[14:42:01.7584277] [Debug] ListPage.xaml.cs::OnViewModelChanged::241
cleared viewmodel
[14:42:01.7630276] [Debug] WinGetExtensionPage.cs::DoSearchAsync::179
Starting search for '+windows-commandpalette-extension'
[14:42:01.9948097] [Debug] WinGetExtensionPage.cs::DoSearchAsync::222
Searching ()
[14:42:02.1955146] [Debug] WinGetExtensionPage.cs::DoSearchAsync::239
got results for ()
[14:42:02.2093448] [Debug] WinGetExtensionPage.cs::DoSearchAsync::250
(+windows-commandpalette-extension): count: 9
[14:42:02.2094312] [Debug] WinGetExtensionPage.cs::DoSearchAsync::255
Search "+windows-commandpalette-extension" took 446ms
[14:42:02.2096762] [Debug] WinGetExtensionPage.cs::UpdateWithResults::155
Completed search for ''
but ECP also have this tag among other tags
https://github.com/microsoft/winget-pkgs/blob/4df61bf3fb413eb468fba9c2de824df933a993d0/manifests/l/lin-ycv/EverythingCmdPal/0.1.0.0/lin-ycv.EverythingCmdPal.locale.en-US.yaml#L17-L27
Mike Griese (@zadjii-msft)
Looking at the packages that shows up against ECP, windows-commandpalette-extension has to be the only tag? or is there something else that's wrong?
Additional Information
No response
Other Software
No response
Metadata
Metadata
Assignees
Labels
Help WantedWe encourage anyone to jump in on these and submit a PR.We encourage anyone to jump in on these and submit a PR.Issue-BugSomething isn't workingSomething isn't workingPriority-2Bug that is medium priorityBug that is medium priorityProduct-Command PaletteRefers to the Command Palette utilityRefers to the Command Palette utility
Type
Projects
- StatusShow more project fieldsTodo

Activity
zadjii-msft commentedon Apr 10, 2025
You know what, I think I know what's wrong here. I bet it's this line of code:
PowerToys/src/modules/cmdpal/exts/Microsoft.CmdPal.Ext.WinGet/WinGetStatics.cs
Lines 57 to 60 in 94e8559
That (I believe) prevents CmdPal from refreshing the package index. I put that in originally because it was taking ages to start the winget extension, but I think after some additional refactoring, that might not be necessary anymore? we can probably just drop that and see if it's much slower on the first query.
(congrats on getting it onto winget - this is already my favorite extension)
Dubey404aasutosh commentedon Oct 29, 2026
Hi Mike Griese (@zadjii-msft) I looked into this on my Powertoy v0.101.2362.
what i have noticed
The code you pointed to earlier is still there . It is now in WingetPackageManagerService.cs which is used by general Winget search page and by the gallery for install/update
PowerToys/src/modules/cmdpal/Microsoft.CmdPal.Common/WinGet/Services/WinGetPackageManagerService.cs
Lines 471 to 477 in 7e73900
in #39128 , running " winget search --tage "windows-commandpalette-extension" once in a terminal fixed the list for one user , which also fits the idea that CmdPal does not refresh the catalog on its own
Question
Since the original page no longer exists , should this issue be closed ? or would still like that removed ( or changed to a non-zero interval )? if so i am happy to open a PR and measure the first search time before and after , as you have suggested .
I will wait for your reply before making any chnages .
zadjii-msft commentedon Oct 29, 2026
Sure, the original context of this post was specifically looking for a cmdpal extension. But theoretically, the package catalog refresh is still an issue with the winget search in general. Like, I'm guessing that this bug still applies to other apps that might get added to winget.
Definitely hard-to-impossible to repro, to validate that you've actually fixed this bug. But if you find a consistent way to reproduce this bug with the generic winget search, then by all means, please try to fix it.
Is there a particular reason you're investigating this bug? Seems like there's lots of other bugs that are probably more impactful and/or easier to solve.
Dubey404aasutosh commentedon Oct 29, 2026
Thanks for quick reply , Mike Griese (@zadjii-msft)
I am new to contributing to PowerToys and i picked this issue because it had the help wanted label and you had already pointed to a likely cause , so i looked like a good first issue .
I will try to investigate whether the genric Winget search behavior can be reproduced consistently . If i cant establish reliable repro , i will move on rather than make a unverified change .
Would you recommend another issue that would be a good fit fora first contribution ? I have PowerToys building locally and i am happy to pick whatever is most useful .