Cannot use key `space` as shortcut for custom actions
Version information
Thunar 4.18.11 and earlier, Arch Linux
Steps to reproduce
- Open UCA configurator: menu
Edit,Configure custom actions... - Click
+to create a new custom action - In
Basictab, click on the button on the right ofKeyboard shortcut: - Press key
space
Current behavior
The key space is not accepted as shortcut: the dialog to select the shortcut stays opened.
Expected outcome
The key space should be accepted and the dialog closed, like for example if I press <Ctrl>+space or A.
Additional information
There is a workaround to use space as shortcut:
- create the custom action and use for example
<Ctrl>+spaceas shortcut. - close all instances of thunar using
thunar -q. - manually edit the file
~/.config/Thunar/accels.scmto replace the shortcut of the custom action from"<Primary>space"to"space". - restart thunar.
This workaround works, so technically there is no problem to use space as shortcut.
Another interesting point: if I try to modify the shortcuts of "normal" actions (menu Edit, Preferences..., tab Shortcuts):
- some actions, like
About, allow the use of shortcutspace - some other actions, like
Backdoes not allow the use of shortcutspace