-
Notifications
You must be signed in to change notification settings - Fork 698
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
WinAppSDK 1.3 ColorPicker crashing #9903
Comments
This is the xaml structure: <StackPanel Name="element1" Orientation="Horizontal">
<SplitButton>
<Border
Width="32"
Height="32"
CornerRadius="4" />
<SplitButton.Flyout>
<Flyout>
<ColorPicker
ColorSpectrumShape="Box"
IsAlphaEnabled="False"
IsAlphaSliderVisible="True"
IsColorChannelTextInputVisible="True"
IsColorSliderVisible="True"
IsHexInputVisible="True"
IsMoreButtonVisible="False"
Tag="element1" />
</Flyout>
</SplitButton.Flyout>
</SplitButton>
<Button Width="43" Height="43">
<FontIcon FontSize="17" Glyph="" />
</Button>
</StackPanel> I could not get it to reproduce on other project, strangely since switching to CommunityToolkit ColorPicker the issue stopped. |
Here is a workaround: Using x:Load to load the controls inside flyout on dispatcher. |
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you! Closed similar issues:
|
@rocksdanister have you tried this with latest version of WinAppSDK ? 1.6 Preview1 was recently released - can you see if it is addressed there? There have been many fixes since the 1.3 release. |
Can be reproduced on 1.6 Preview1. |
Describe the bug
On upgrading to WindowsAppSDK 1.3 application crashing when opening ColorPicker on SplitButton sometimes.
AppDomain.CurrentDomain.UnhandledException
didn't catch any error.rocksdanister/lively#1724
Steps to reproduce the bug
Expected behavior
The program should not crash.
NuGet package version
Windows App SDK 1.3.1: 1.3.230502000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
I'll try to create a reproducible sample and update here, its not crashing in debug mode so far.
The text was updated successfully, but these errors were encountered: