Closed
Description
Describe the bug
In the latest version of AvaloniaUI (11.1.3), the application caption buttons in the upper right corner are invisible at startup. They become visible after resizing the window (Windows + Arrow keys).
On version 11.0.6 it worked as expected (close and resize buttons were visible right after starting the application).
To Reproduce
- Create a new Avalonia .NET App (AvaloniaUI) OR a new Avalonia .NET MVVM App (AvaloniaUI)
- Add
ExtendClientAreaToDecorationsHint="True"
andWindowState="Maximized"
to theMainWindow.axaml
- Launch the app, the close & resize buttons are visible as expected
- Run NuGet Package Manager and update all Avalonia packages to 11.1.3
- Once updated, launch the app, the buttons are no longer visible
Expected behavior
The caption buttons (close and resize buttons in the upper right corner) should be visible immediately after launching the application.
Avalonia version
11.1.3
OS
Windows
Additional context
I can send screenshots & code examples if required.