microsoft / microsoft/microsoft-ui-xaml

Proposal: Enable window drag when ContentDialog is opened

Open
#10,942 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-AppWindow feature proposal
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.

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.