nw version:0.15.2
os version:windows 10 x64
code:
var option = {
key: "Ctrl+Shift+N",
active: function() {
alert("1")
},
failed: function(msg) {
alert("2")
}
};
var shortcut = new nw.Shortcut(option);
nw.App.registerGlobalHotKey(shortcut);
description:
When app is minsized and the shortcut is pressed, the alert dialog can not show and the app is disabled.
I can confirm this issue. Looks like it only happens on Windows. I will try to fix it.
This is fixed in git and will be available in the next nightly build.
OK~Thanks a lot!
Most helpful comment
I can confirm this issue. Looks like it only happens on Windows. I will try to fix it.