Skip to content

CmdPal: make dialogs prevent compact mode from being collapsed - #49451

Open
zadjii-msft wants to merge 1 commit into
mainfrom
user/migrie/b/compact-expand-confirm
Open

CmdPal: make dialogs prevent compact mode from being collapsed#49451
zadjii-msft wants to merge 1 commit into
mainfrom
user/migrie/b/compact-expand-confirm

Conversation

@zadjii-msft

Copy link
Copy Markdown
Member

ContentDialogs we present for CommandResult.Confirm need to be visible. When the window is clipped for compact mode, the dialog is predictably also collapsed.

This makes sure that content dialogs are always visible, by forcing us out of compact mode when dialogs are shown.

Closes: quite sure it was filed somewhere, right?

ContentDialogs we present for CommandResult.Confirm need to be visible.
When the window is clipped for compact mode, the dialog is predictably
also collapsed.

This makes sure that content dialogs are always visible, by forcing us
out of compact mode when dialogs are shown.

Closes: quite sure it was filed somewhere, right?
@github-actions github-actions Bot added the Product-Command Palette Refers to the Command Palette utility label Jul 22, 2026
/// the dialog is showing and <see langword="false"/> once it closes to restore the normal
/// compact/expanded behavior.
/// </summary>
public record MaximizeForDialogMessage(bool Maximize);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this just be MaximizeWindowMessage or ForceMaximizeMessage? My thinking is that we may find other places we need to maximize for outside dialogs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants