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

Closing the Application with an opened context flyout causes a crash #9336

Closed
jaimecbernardo opened this issue Feb 15, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@jaimecbernardo
Copy link

Describe the bug

When we close an application with a context flyout opened, it logs a crash in the Event Viewer:
microsoft/PowerToys#28820
This is an issue in PowerToys utilities, which we fixed an instance of it by looping while waiting for the context flyout to closed before really closing, but it is reproable in the WinUI3 gallery as well.

Steps to reproduce the bug

  1. Open the WinUI 3 Gallery application that's shipped in the Microsoft Store.
  2. Enter the Text > TextBox screen.
  3. Right click in the simple text box example so that the context menu appears.
  4. Close the Gallery by clicking the exit button with the context menu opened. This will cause a crash.
  5. Verify that there's an Event Viewer entry for the issue.

Expected behavior

That the application crashes without the issue.

Screenshots

image
image

NuGet package version

WinUI 3 - Windows App SDK 1.4.5: 1.4.240411001

Windows version

Windows 11 (22H2): Build 22621

Additional context

The crash doesn't seem to occur if "Animation Effects" are turned off in the Windows settings.

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.

@jaimecbernardo
Copy link
Author

Maybe this is the same as #8605 ?

@codendone
Copy link
Contributor

Closing as dup of #8605.

@codendone codendone closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage Issue needs to be triaged by the area owners label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants