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.
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 anySuper+<key>combinations (Super+E,Super+D,Super+Scrolletc.) 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+Eworks normally and only a bare Super tap opens the launcher.The fix would involve replacing the current
grab_accelerator(keydown) approach inkeybinding.jswith 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 opensCurrent behavior:
Superpressed → Searchlight opens immediately, interrupting any Super+key comboThis would make Searchlight behave like Windows search/start, which is the most natural workflow for users coming from Windows.