Skip to content

Accept KeypadModifier in filter text input - #80

Merged
DanielLemky merged 1 commit into
DanielLemky:masterfrom
vxavierr:fix/keypad-modifier-filter
Sep 15, 2026
Merged

DanielLemky merged 1 commit into
DanielLemky:masterfrom
vxavierr:fix/keypad-modifier-filter

Conversation

@vxavierr

Copy link
Copy Markdown
Contributor

Numpad digits (and symbols like + - * / .) are ignored by the launcher: with NumLock on, Qt delivers them with event.text set but event.modifiers === Qt.KeypadModifier, which the filter-text branch in Menu.qml rejects (it only accepts NoModifier / ShiftModifier).

This widens that one check to also accept KeypadModifier and Shift+Keypad, so 25 * 4 can be typed on the numpad.

Verified on Omarchy (Quickshell): shell restart, plugin ping/summon ok, physical numpad input confirmed working.

Note: the same strict-modifier pattern exists upstream in Omarchy's stock menu and in downstream clones — out of scope here, flagging in case you want to mirror it.

@DanielLemky
DanielLemky merged commit 643f83d into DanielLemky:master Sep 15, 2026
1 check passed
@DanielLemky

Copy link
Copy Markdown
Owner

Thanks @vxavierr !

@DanielLemky DanielLemky mentioned this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants