-
Notifications
You must be signed in to change notification settings - Fork 46
Description
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:
Superheld + another key → combo works normally, Searchlight stays closedSupertapped and released alone → Searchlight opens
Current behavior:
Superpressed → 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.