Skip to content

[Feature Request] Add trigger-on-release option for bare modifier key shortcuts #153

@Tosters

Description

@Tosters

Hi, would it be possible to add a "trigger on release" option for the shortcut key binding?

Currently when binding Searchlight to a bare modifier key like Super, it triggers on keydown. This causes conflicts with any Super+<key> combinations (Super+E, Super+D, Super+Scroll etc.) because Searchlight fires the moment Super is pressed, before GNOME can process the full combination.

Windows Start menu behavior works differently - it triggers on key release, and only if no other key was pressed during the hold. This way Super+E works normally and only a bare Super tap opens the launcher.

The fix would involve replacing the current grab_accelerator (keydown) approach in keybinding.js with key release event monitoring, similar to how some other launchers handle this.

Expected behavior:

  • Super held + another key → combo works normally, Searchlight stays closed
  • Super tapped and released alone → Searchlight opens

Current behavior:

  • Super pressed → Searchlight opens immediately, interrupting any Super+key combo

This would make Searchlight behave like Windows search/start, which is the most natural workflow for users coming from Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions