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

Disabled menu can be opened with accelerator key #6323

Closed
iminashi opened this issue Jul 29, 2021 · 0 comments · Fixed by #6632
Closed

Disabled menu can be opened with accelerator key #6323

iminashi opened this issue Jul 29, 2021 · 0 comments · Fixed by #6632
Labels
bug help-wanted A contribution from the community would be most welcome.

Comments

@iminashi
Copy link

Describe the bug

A menu can be opened and possibly used even when it is disabled.

To Reproduce

  1. Create a disabled menu that contains an item with header "_File".
  2. The menu can be opened with Alt+F.
  3. If events are used instead of command binding, the items in the menu are enabled and can be selected.

Expected behavior

User should not be able to use a disabled menu using the keyboard.

Desktop:

  • Windows 10
  • Avalonia 0.10.6
@iminashi iminashi added the bug label Jul 29, 2021
@maxkatz6 maxkatz6 added the help-wanted A contribution from the community would be most welcome. label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help-wanted A contribution from the community would be most welcome.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants