microsoft / microsoft/microsoft-ui-xaml
Proposal: Enable window drag when ContentDialog is opened
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Title
Enable window drag when ContentDialog is opened
### Summary
When `ContentDialog` is opened, the host window should still be draggable when `ExtendsContentIntoTitleBar` is set to `true`.
### Rationale
Sometimes, users might unintentionally move the window to the corner of the monitor, and if there is a `ContentDialog` opened, it might be completely outside the visible space of the monitor so the user is unable to interact with it.
But now the window is unmovable so unless the user knows to use win+arrow keys, they will have no way but shutdown the app and reopen it again, causing a bad user-experience.
### Scope
| Capability | Priority |
| :---------- | :------- |
| This proposal will allow user to still drag the titlebar to move the window when a `ContentDialog` is opened | Must |
### Important Notes
_No response_
### Open Questions
_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 behavior with a ContentDialog open and ExtendsContentIntoTitleBar set to true, then trace how title-bar dragging is handled while the dialog is modal. Done means the host window remains draggable in this state and the existing dialog interaction is preserved; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100