Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Fix window incorrect positioning with window startup location CenterScreen

Open Takoooooo opened this issue 1 year ago • 1 comments

What does the pull request do?

Previously if you would set Window WindowStartupLocation to WindowStartupLocation.CenterScreen when Window is already shown and set IsVisible to false and then to true Window will get centered which is not expected. This behaviour doesen't match WPF's behaviour.

Fixes https://github.com/AvaloniaUI/Avalonia/issues/11857

Takoooooo avatar Jul 07 '23 18:07 Takoooooo