You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
With constraints: When the same key is mapped to short-press and long-press, the short-press shortcut never fires #2303
Have you checked if an issue already exists for this bug?
Nobody else has reported this bug before
Have you tried restarting your device?
I have tried restarting my device and that did not help
What happened that you did not expect?
I looked, but haven't found this issue reported. Apologies if I've missed it
I've previously set one key to trigger different actions, with action "A" running on short-press, and action "B" running on long-press. This worked fine on 3.2.1-foss, but was broken some time between the 3.2.1 release and now.
I re-installed 3.2.1-foss last night to verify I do not have this problem with that version, and can use short and long-press with the same trigger, with 3.2.1-foss. Deleting and re-installing 4.6.1-foss, and the issue returns immediately.
Currently, my short-press action never fires, and the long-press action works properly. If I disable the long-press keymap, the short-press action works correctly.
What did you expect to happen?
Tapping the shortcut key will run it's assigned action, long-pressing the same shortcut key will run the other assigned action
What would the developer need to do to reproduce the bug?
New keymap
Record keyboard key ('k'), leave as default "Short press"
Add action ("Launch app")
Set constraints to "App in foreground (launcher app)"
New keymap
Record same keyboard key as step 2, set to "Long press"
Add action (launch different app than step 3)
Set constraints to "App in foreground (launcher app)"
Return to home screen, attempt to launch first one keymap, then the other. Only one keymap will work, with the other failing silently
changed the title [-]When the same key is mapped to short-press and long-press, the short-press shortcut never fires[/-][+]With constraints: When the same key is mapped to short-press and long-press, the short-press shortcut never fires[/+]on Oct 22, 2026
Activity
[-]When the same key is mapped to short-press and long-press, the short-press shortcut never fires[/-][+]With constraints: When the same key is mapped to short-press and long-press, the short-press shortcut never fires[/+]