Browse Source
#14982 added some logic from WPF to contrain a window showed with `WindowStartupLocation.CenterOwner` to the screen, but it had a bug: the screen used was the screen that the window being _shown) is currently on, not the _owner_ window. This means that if the owner window is on a different screen to the window being shown then it will be constrained to the wrong screen. You can see this on Windows by showing a child `Window` with `CenterOwner` when the owner window is on a secondary screen: the child window will initially be shown on the primary screen and so the constraint will be wrong, resulting in the child window being shown on the wrong screen.pull/15929/head
committed by
GitHub
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue