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

AccessKey causes access violation after releasing Alt key #8648

Closed
shinta0806 opened this issue Jul 15, 2023 · 2 comments
Closed

AccessKey causes access violation after releasing Alt key #8648

shinta0806 opened this issue Jul 15, 2023 · 2 comments
Labels
area-AccessKeys bug Something isn't working needs-triage Issue needs to be triaged by the area owners team-Rendering Issue for the Rendering team
Milestone

Comments

@shinta0806
Copy link

Describe the bug

Assign AccessKey to the window close button, press and release the Alt key, and then press AccessKey result in an access violation.

Pressing the Alt key and the AccessKey at the same time will not result in an access violation.

Steps to reproduce the bug

  1. Assign AccessKey to the window close button.
  2. Press the Alt key.
  3. Relase the Alt key.
  4. Press AccessKey.

Visual Studio's output window:
プログラム '[21908] TestAccessKey.exe' はコード 3221225477 (0xc0000005) 'Access violation' で終了しました。

Sample program in GitHub:
https://github.com/shinta0806/TestAccessKey

Expected behavior

No response

Screenshots

2

NuGet package version

WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@shinta0806 shinta0806 added the bug Something isn't working label Jul 15, 2023
@bpulliam bpulliam added team-Rendering Issue for the Rendering team area-AccessKeys labels Aug 22, 2023
@JJBrychell JJBrychell added the fixed-internally This bug has been fixed, and the fix will be shipped in the next version of WinUI 3. label Jan 26, 2024
@JJBrychell
Copy link

Pressing the Alt-key causes the page to enter access key mode (where the keytips are displayed). Once a key is activated and its action taken, the page attempts to leave this mode, but if page is in the middle of destruction some things can get confused.

The fix is in and schedule for 1.5

@bpulliam bpulliam added this to the WinAppSDK 1.5 milestone Feb 6, 2024
@bpulliam bpulliam removed the fixed-internally This bug has been fixed, and the fix will be shipped in the next version of WinUI 3. label Feb 29, 2024
@shinta0806
Copy link
Author

I have updated the Windows App SDK for the sample program to Ver 1.5 (1.5.240227000) and confirmed that the problem has been resolved.
Thank you!

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AccessKeys bug Something isn't working needs-triage Issue needs to be triaged by the area owners team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

3 participants