microsoft / microsoft/PowerToys
CmdPal: Dock: Incorrectly reports display 1 as display 2
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.100.2
### Installation method
Microsoft Store
### Area(s) with issue?
Command Palette
### Steps to reproduce
1. Connect a display to a device that has a 'lid'
2. Put the main device to sleep
3. While the device is sleeping, get the lock screen display on the second monitor (main device sleeping, second one active)
(Would be easier on a device with an external power button: shut the lid first, and then press the button to wake up the external monitor)
#### Would be more effective to reproduce if you wait ~10 seconds between closing the lid and pressing the power button
### ✔️ Expected Behavior
CmdPal correctly displays the correct dock for each display
### ❌ Actual Behavior
CmdPal mixes up the displays (thinks display 1(actual) is display 2(what it thinks))
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
Research direction
Start in the Command Palette (CmdPal) display and dock handling by reproducing the lid-sleep and external-monitor sequence described in the issue. Compare the display identity reported by CmdPal with the actual active monitor after waiting about 10 seconds. Done means each display is assigned and reported correctly in this scenario.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100