This is a test program for creating a new window in Avalonia UI.
- Create an MVVW application with "dotnet new avalonia.mvvm -o MyApp"
- Duplicate the code of the MainWindow to create a SubWindow
- Make the SubWindow open when the button in the MainWindow is pressed
- Windows 11 .NET 8 (Avalonia ui Version 11.0.1)
- Raspberry Pi Zero 2 W + Raspbian (Avalonia ui Version 11.0.1)
When opening a SubWindow, the background of the SubWindow temporarily becomes all black, and then the contents of the SubWindow are displayed. I want to fix this, but I don't know how. (The same phenomenon probably occurs on Windows 11. I think that Windows 11 is fast enough that it is not noticeable.)