Get System.ArgumentException error when exiting net 8 or 9 mobile windows app that used border.shadow #25014
Labels
area-controls-border
Border
i/regression
This issue described a confirmed regression on a currently supported version
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When I use <Border.Shadow> on a .Net Maui Net8 or later mobile app running on Windows 11, upon exiting the app I see numerous instances of :
Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll
WinRT information: The caller is not allowed to perform this operation on this object.
Steps to Reproduce
On Windows compile and runthe "Windows Machine" debug version of the https://github.com/CommunityToolkit/Maui/tree/main/samples/CommunityToolkit.Maui.Sample.
Select Views, then select Avatar Views Shadows
Exit the app and view the Output window.
You will see at the bottom, multiple instances of 👍
Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll
WinRT information: The caller is not allowed to perform this operation on this object.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples/CommunityToolkit.Maui.Sample.
Version with bug
9.0.0-rc.1.24453.9
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: