Skip to content

With constraints: When the same key is mapped to short-press and long-press, the short-press shortcut never fires #2303

Open

Description

@xethos84

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?

  1. New keymap
  2. Record keyboard key ('k'), leave as default "Short press"
  3. Add action ("Launch app")
  4. Set constraints to "App in foreground (launcher app)"
  5. New keymap
  6. Record same keyboard key as step 2, set to "Long press"
  7. Add action (launch different app than step 3)
  8. Set constraints to "App in foreground (launcher app)"
  9. Return to home screen, attempt to launch first one keymap, then the other. Only one keymap will work, with the other failing silently

App version

4.6.1-foss

Android version

Android 16

Device model and manufacturer

Zinwa Q25

Extra info

  • My device is rooted

Activity

  1. added
    bug
    on Oct 22, 2026
  2. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugneeds triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions