Skip to content

Fix message box positioning. - #1757

Open
ioswald wants to merge 1 commit into
lepoco:mainfrom
ioswald:IanO.MessageBoxPosition
Open

Fix message box positioning.#1757
ioswald wants to merge 1 commit into
lepoco:mainfrom
ioswald:IanO.MessageBoxPosition

Conversation

@ioswald

@ioswald ioswald commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Fixed MessageBox positioning with respect to WindowPosition

Pull request type

MessageBox

Please check the type of change your PR introduces:

  • Update
  • [x ] Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

MessageBox shows centered on primary display regardless of WindowPosition or which screen Owner or which screen contains the mouse cursor (according to WindowStartupLocation comments).

Issue Number: N/A

What is the new behavior?

Correctly positions over Owner or center screen that contains the mouse cursor regardless of which screen either is on respectively

Other information

@ioswald
ioswald requested a review from pomianowski as a code owner August 19, 2026 19:40
@github-actions github-actions Bot added controls Changes to the appearance or logic of custom controls. PR Pull request dotnet release labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. dotnet PR Pull request release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant