AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
24.69k stars 2.14k forks source link

Application doesn't render when using WindowState in 11.1 #16227

Closed IZIDIA closed 5 hours ago

IZIDIA commented 2 weeks ago

Describe the bug

If you set the WindowState property to Maximized mode. When minimized and expanded, the application stops rendering. In version 11.0.10 everything is ok and this problem does not exist. The problem was discovered in 11.1

To Reproduce

1) Set WindowState="Maximized" in MainWindow 2) Launch app 3) Minimize the application using the button on the top right. Expand

Expected behavior

No response

Avalonia version

11.1-rc2

OS

Windows

Additional context

https://github.com/AvaloniaUI/Avalonia/assets/80700375/b9fc9a97-886b-41ac-b5dd-daff08918abf

Klinkas commented 2 weeks ago

yeah, i repeated steps and got the same result

maxkatz6 commented 2 weeks ago

Can't reproduce on master, didn't check with rc2 yet. cc @emmauss

MrJul commented 2 weeks ago

Probably need to backport #16029

grokys commented 5 hours ago

Backported #16029 to 11.1.0 so closing this.