Using the Synopsis snippet from https://github.com/nwjs/nw.js/wiki/Shortcut, The global hotkey works as expected. Modifying the key as follows:
key : "Ctrl+Alt+Z" works as expected.
key : "Ctrl+Alt+Space" does nothing.
key : "Ctrl+Alt+ " does nothing.
key : "Ctrl+Alt+"+String.fromCharCode(32) does nothing.
There is no failure reported when the key is registered or when struck by the user.
Using another modifier, only Ctrl, for example produces similar results; All combinations work as expected unless a space is included.
I'm working on a Mac with OS X Yosemite, where "Ctrl+Alt+Space" normally opens the Spotlight search window. I have reassigned that function to a different key sequence so that "Ctrl+Alt+Space" does nothing before starting my nw.js program.
nw.js 0.11.6
node-webkit-builder 1.0.8
App run with command
nwbuild -v 0.11.6 -r .
Also fails when built as an app
nwbuild --quiet -v 0.11.6 -p "osx64" .
Apparently nw.js (formerly Node-Webkit) does not support the space character in global hot keys.
Any workaround or just confirmation would be appreciated.