Closed JasonWei512 closed 1 year ago
Windows App SDK 1.3's new SystemBackdrop API requires the window to have content.
If I set MainWindow.SystemBackdrop
when MainWindow.Content
is null, the app may crash on launch.
https://github.com/microsoft/WindowsAppSDK/discussions/3406#discussioncomment-4955796
Set MainWindow.SystemBackdrop
after setting MainWindow.Content
.
The wrong Mica theme bug is fixed in Windows App SDK 1.3, so this workaround is no longer needed.
Known Issues
On my laptop, app may crash when launching.