microsoft / microsoft/PowerToys
CmdPal: ProviderContext contamination between normal and Dock attached palette
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Microsoft PowerToys version
0.98
Installation method
Dev build in Visual Studio
Area(s) with issue?
Command Palette
Steps to reproduce
- Pin Dad Jokes to Dock
- Open Command Palette by hotkey
- Go to All Apps
- Click on Dad Jokes
- PowerToysAppHostService.GetProviderContextForCommand return All Apps as the context
W:\source\ms-pt\src\modules\cmdpal\Microsoft.CmdPal.UI\PowerToysAppHostService.cs
PowerToysAppHostService.GetProviderContextForCommand uses currentContext, but when
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
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.
Research direction
Start in src/modules/cmdpal/Microsoft.CmdPal.UI/PowerToysAppHostService.cs and inspect GetProviderContextForCommand, especially its use of currentContext. Reproduce the sequence with Dad Jokes pinned to Dock, then opened from All Apps, and confirm the provider context is not contaminated between the normal and Dock-attached palettes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100