-
Notifications
You must be signed in to change notification settings - Fork 409
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
Application crashes upon closing a second window when using Builder.options.SetShouldEnableSnackbarOnWindows(true) #2279
Comments
Hi @McSaverInvestments. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hello Maui Toolkit,
I gave a very detail work flow so you can be able to reproduce the error,
please let me know if you need anything more or if you need a link to a
repo to see the error in action.
Thanks
McSaverInvestments
…On Monday, October 14, 2024, dotnet-policy-service[bot] < ***@***.***> wrote:
Hi @McSaverInvestments <https://github.com/McSaverInvestments>. We have
added the "needs reproduction" label to this issue, which indicates that we
cannot take further action. This issue will be closed automatically in 5
days if we do not hear back from you by then - please feel free to re-open
it if you come back to this issue after that time.
—
Reply to this email directly, view it on GitHub
<#2279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY66BRDAY5JW67KYI26K44LZ3P3WPAVCNFSM6AAAAABP5MRH4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRHAZDAMJVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, thank you. Please edit your Description of the bug and add a link to an open source repository containing a reproduction sample. Here is more information from our Contributing.mdhttps://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug |
I have edited my original post and added the a link to the repo, here in this message too. https://github.com/McSaverInvestments/TestToolKit2 Thanks. |
Verified the fixed for [Fix Windows Media Element in MultiWindow Mode on exit Crash #2259 does in fact fix this issue. |
Describe the bug
I am trying to use SnackBar in my application. My application supports multiple windows.
There appears to be an issue upon closing a second windows.
Here is a link to the repo:
https://github.com/McSaverInvestments/TestToolKit2
Steps to reproduce
Expected behavior
Windows should close without abort the application!
Here is the call stack:
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Unregister(IObjectReference _obj)
at Microsoft.Windows.AppNotifications.AppNotificationManager.Unregister()
at CommunityToolkit.Maui.Options.<>c.b__22_4(Window _, WindowEventArgs _)
at Microsoft.Maui.MauiWinUIWindow.<>c__DisplayClass10_0.b__0(OnClosed del)
at Microsoft.Maui.LifecycleEvents.LifecycleEventServiceExtensions.InvokeLifecycleEvents[TDelegate](IServiceProvider services, Action
1 action) at Microsoft.Maui.MauiWinUIWindow.OnClosed(Object sender, WindowEventArgs args) at Microsoft.Maui.MauiWinUIWindow.OnClosedPrivate(Object sender, WindowEventArgs args) at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args) at ABI.Windows.Foundation.TypedEventHandler
2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 10.0.26100 (Build 26100)
App minimum and target SDK version
Other SDK version
10.0.19041.0
Visual Studio Version
2022, Preview
Visual Studio Build Number
Microsoft Visual Studio Community 2022 (ARM 64-bit) - Version 17.12.0 Preview 2.1
Device form factor
Desktop
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
Tasks
The text was updated successfully, but these errors were encountered: