-
Notifications
You must be signed in to change notification settings - Fork 77
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
ColorPicker sample in gallery crashing under Windows App SDK #509
Comments
Has the same error message as #517 |
Additional info uncovered thanks to a tip from @Sergio0694 (Possibly related to #516? Though, not the same error message.) @michael-hawker Anything you could add? SwitchPresenter may be having more than one AoT issue here. |
@Arlodotexe Switch Presenter uses all the general types and such from XAML like So, there's probably something there to figure out how to better guard against? I also saw a new issue on the WinUI repo about controls and resource dictionaries + trimming, so something we may want to keep an eye on incase there's other underlying issues still we need to be concerned about or bubble up with the platform team. RE: microsoft/microsoft-ui-xaml#10020 |
Since #516 turned out to be an issue with the EnumValuesExtension, I suspect this may be a binding issue given the data in the exception. Could also be erroring internally in the setter, but the |
It looks like the problem is here: Windows/components/ColorPicker/src/ColorPicker.xaml Lines 238 to 240 in 7ab8a42
Unfortunately, this isn't a backed resource dictionary, so we can't use
To fix the problem, we'll need to locate any |
This issue got opened on the WinUI repo which is related microsoft/microsoft-ui-xaml#10214 - not too sure what we can do here atm. |
Describe the bug
When running the gallery with the Wasdk head on the latest
main
commit, the ColorPicker sample will crash the app:This crash does not occur under UWP.
Steps to reproduce
Expected behavior
No crash.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: