-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Numeric access keys not working #15957
Comments
Moving some details from the originating discussion... For point 1: Avalonia/src/Avalonia.Base/Input/AccessKeyHandler.cs Lines 175 to 183 in f140033
For point 2: This works as expected if you have a It can be fixed in this area Avalonia/src/Avalonia.Base/Input/AccessKeyHandler.cs Lines 211 to 230 in f140033
break; . Not sure if there are any side-effects.
if (MainMenu is null)
{
_owner!.ShowAccessKeys = _showingAccessKeys = false;
} |
Here is sample repo: https://github.com/JouriM2/AvDropDownBug
It contains simple window with 3 edits and labels to access them.
implemented as:
Problems I have:
Number hotkeys not working. Pressing Alt+1 or Alt+2 do nothing. Alt+A works as expected and move focus to edit.
If to press mouse on
Label
itself all three are works.How to use number hotkeys?
After I press Alt on keyboard all hotkeys stay underlined until I press any mouse button inside window (any button, at any point inside window).
At same time any keyboard actions do not remove highlighting.
It seems like a bug and hotkeys need to be hidden after Alt key released.
Originally posted by @JouriM2 in #15939
The text was updated successfully, but these errors were encountered: