Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shortcut does not execute associated action #84
The problem is that currently the keyboard shortcuts that you set up in gmb are only "low-priority", that is they only take effect if the widget that has the focus doesn't react to the key press. So trying to set a shortcut for the Space key will rarely do anything, as Space will most often do something such as -activate the button that has the focus -enter a space in a text entry -play the selected song in a song list.
I've been meaning to add a way to set up "high priority" shortcuts that overrides the currently focused widget (unless it's something like a text entry), but I've been hesitating between doing it via a checkbox for each shortcut, or doing it "smartly" where maybe shortcuts without modifiers (shift/alt/ctrl/win) are automatically high-priority shortcuts, or even making them all "high priority" shortcuts.
Also, I'm a bit reluctant of letting users override keys that are used for keyboard navigation, like space, tab, arrows keys, enter...
I guess I'll implement it with a checkbox for each shortcuts, with a good tooltip to explain the consequences.
In the meantime, my advice would be to use win-space instead as a shortcut.
Thanks for your response! Nice to know the reasons why the program does it this way.