You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line of code: WindowChrome_Partial.cpp (L102) causes app which uses a custom title bar to crash. This code should not be invoked after the window is closed. I believe it is a regression, because my code has not changed but the app has started crashing.
Stack trace:
combase.dll!RoFailFastWithErrorContextInternal2(HRESULT hrError, unsigned long cStowedExceptions, _STOWED_EXCEPTION_INFORMATION_V2 * * aStowedExceptionPointers) Line 1469 C++
Microsoft.UI.Xaml.dll!FailFastWithStowedExceptions(HRESULT hrError, unsigned long cStowedExceptions, _STOWED_EXCEPTION_INFORMATION_V2 * * aStowedExceptionPointers) Line 1508 C++
Microsoft.UI.Xaml.dll!DirectUI::WindowChrome::SetTitleBar(ABI::Microsoft::UI::Xaml::IUIElement * titleBar) Line 102 C++
Microsoft.UI.Xaml.dll!DirectUI::DesktopWindowImpl::SetTitleBarImpl(ABI::Microsoft::UI::Xaml::IUIElement * pTitleBar) Line 1289 C++
[Inline Frame] Microsoft.UI.Xaml.dll!DirectUI::Window::SetTitleBarImpl(ABI::Microsoft::UI::Xaml::IUIElement *) Line 815 C++
Microsoft.UI.Xaml.dll!DirectUI::WindowGenerated::SetTitleBar(ABI::Microsoft::UI::Xaml::IUIElement * pTitleBar) Line 388 C++
Microsoft.UI.Xaml.dll!DirectUI::DesktopWindowImpl::CloseImpl() Line 454 C++
[Inline Frame] Microsoft.UI.Xaml.dll!DirectUI::Window::CloseImpl() Line 269 C++
Microsoft.UI.Xaml.dll!DirectUI::WindowGenerated::Close() Line 260 C++
Describe the bug
This line of code: WindowChrome_Partial.cpp (L102) causes app which uses a custom title bar to crash. This code should not be invoked after the window is closed. I believe it is a regression, because my code has not changed but the app has started crashing.
Stack trace:
Steps to reproduce the bug
Ensure you are running a recent Windows Canary build.
Launch Windows Sandbox.
Restart the container.
Observe the crash.
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows Insider Build (xxxxx)
Additional context
No response
The text was updated successfully, but these errors were encountered: