-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instantiating child window from main window constructor crashes #4234
Comments
That crash results from instantiating another window from your main window constructor. |
Do you have the in app toolbar enabled? If you do, try disabling it. There is a known issue where the in app toolbar will cause a crash if there are multiple Xaml windows on a thread. Otherwise, it would be nice to know more about WindowSettings, importantly, are you trying to change the parent/owner of a Xaml window that derives from Microsoft.UI.Xaml.Window? |
I'll try disable the debug toolbar to see if it helps. |
You should just be able to click the same button as you used to disable it. |
Can't recall how I did that last year now… |
Duplicate of microsoft/microsoft-ui-xaml#8806 |
Describe the bug
Crash after upgrading from 1.3 to 1.4
The app starts, when I'm lucky I can even get a nice complete render then it crashes in
Api::ReunionApi32::GetWindowFeatureImpl
.See callstack below.
Steps to reproduce the bug
Upgrade from 1.3 to 1.4
Run your app making sure you instantiate a child window from the main window constructor.
Expected behavior
Should not crash
Screenshots
No response
NuGet package version
Windows App SDK 1.4.5: 1.4.240211001
Packaging type
msix
Windows version
Windows 11 22H2 22621.3007
IDE
Visual Studio 2022
Additional context
The text was updated successfully, but these errors were encountered: