Bugfix for displayed gesture identifier containing numlock modifier#19213
Merged
seanbudd merged 5 commits intonvaccess:masterfrom Nov 18, 2025
Merged
Bugfix for displayed gesture identifier containing numlock modifier#19213seanbudd merged 5 commits intonvaccess:masterfrom
seanbudd merged 5 commits intonvaccess:masterfrom
Conversation
# Conflicts: # user_docs/en/changes.md
seanbudd
reviewed
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Fixes #19214
Summary of the issue:
When gestures include numpad operators (numpad plus, numpad minus, numpad multiply and numpad divide) and are defined with numlock on, they do not appear correctly in input gesture dialog, e.g. "num lock" instead of "num lock+numpad plus")
Description of user facing changes:
Gestures including numpad operators with num lock on are now correctly displayed in the input gesture dialog.
Description of developer facing changes:
N/A
Description of development approach:
In kayboard gestures identifiers, numlock can be considered a modifier or a main key name, depending on the situation:
In
KeyboardInputGesture.getDisplayTextForIdentifiersort key name with normal modifiers, then numlock and then main key name.Testing strategy:
Manual test in input gestures dialog with:
numpadPlusnumlock+numpadPlusshift+numlockKnown issues with pull request:
While testing, I fell on the issue described in #4226 (comment), i.e. pressing
control+numlockactually triggerscontrol+pause.Code Review Checklist: