microsoft / microsoft/PowerToys
CmdPal: window briefly resizes when shown on a monitor with different DPI
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
When the WinUI 3 window is summoned on a monitor with a different DPI, a
visible resize/glitch occurs before the window fully settles (for a split of a second).
- Start the app with the window cloaked.
- Move focus to a monitor with a different DPI scale.
- Summon the window with the global hotkey.
- Observe the window as it is repositioned and uncloaked.
✔️ Expected Behavior
The window should appear already centered and fully rendered at the correct DPI, without any visible resize or redraw.
❌ Actual Behavior
A visual glitch is visible during the DPI transition. The window appears to resize or redraw after being shown.
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 by reproducing the issue in the Command Palette WinUI 3 window using the listed monitor and DPI transition steps, then trace the global-hotkey summon, reposition, and uncloaking entry points. Done means the window appears centered and fully rendered at the target DPI without a visible resize or redraw.
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
- Mostly clear
- Newbie friendliness
- 42/100