Skip to content
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

Open
rocksdanister opened this issue Jun 3, 2023 · 5 comments
Open

WinAppSDK 1.3 ColorPicker crashing #9903

rocksdanister opened this issue Jun 3, 2023 · 5 comments
Labels
area-ColorPicker bug Something isn't working team-Controls Issue for the Controls team

Comments

@rocksdanister
Copy link

rocksdanister commented Jun 3, 2023

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

  1. Get the app https://github.com/rocksdanister/lively
  2. Click on "..." -> Customise one of the wallpaper supporting color (Fluid)
  3. Try opening ColorPicker.

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.

@bpulliam bpulliam added the needs-author-feedback Asked author to supply more information. label Jun 8, 2023
@rocksdanister
Copy link
Author

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="&#xEF3C;" />
  </Button>
</StackPanel>

I could not get it to reproduce on other project, strangely since switching to CommunityToolkit ColorPicker the issue stopped.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-triage Issue needs to be triaged by the area owners and removed needs-author-feedback Asked author to supply more information. no-recent-activity labels May 21, 2024
@codendone codendone transferred this issue from microsoft/WindowsAppSDK Aug 16, 2024
@codendone codendone added bug Something isn't working area-ColorPicker team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Aug 16, 2024
Copy link

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@ranjeshj
Copy link
Contributor

@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.

@ranjeshj ranjeshj added the needs-author-feedback Asked author to supply more information. label Aug 22, 2024
@rocksdanister
Copy link
Author

Can be reproduced on 1.6 Preview1.

@microsoft-github-policy-service microsoft-github-policy-service bot added needs-triage Issue needs to be triaged by the area owners and removed needs-author-feedback Asked author to supply more information. labels Aug 23, 2024
@codendone codendone removed the needs-triage Issue needs to be triaged by the area owners label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ColorPicker bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants