You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a F key is not present on the keyboard, it should not influence the behavior of other keys.
Actual behavior
I have a keyboard with F1-F12. According to the documentation, it is possible to define shortcuts for the F keys from F1 up to F24. If I define a shortcut with electron.globalShortcut.register('F13', function(){ electron.app.quit(); })
every valid shortcut handler added before will not trigger.
The following will work, but if you swap the to register calls, the a shortcut will not work.
I forked the electron-quick-start and added the code triggering the issue in the main.js. If you swap the two global shortcuts, it will work for a at least.
It is in the master branch and can be started with npm install and npm start afterwards.
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
1.7.11
Fedora 27 with Linux 4.14.13
Expected behavior
If a F key is not present on the keyboard, it should not influence the behavior of other keys.
Actual behavior
I have a keyboard with F1-F12. According to the documentation, it is possible to define shortcuts for the F keys from F1 up to F24. If I define a shortcut with
electron.globalShortcut.register('F13', function(){ electron.app.quit(); })
every valid shortcut handler added before will not trigger.
The following will work, but if you swap the to register calls, the
a
shortcut will not work.electron.globalShortcut.register('F13', function(){ electron.app.quit(); }) electron.globalShortcut.register('a', function(){ electron.app.quit(); })
How to reproduce
I forked the electron-quick-start and added the code triggering the issue in the main.js. If you swap the two global shortcuts, it will work for
a
at least.It is in the master branch and can be started with
npm install
andnpm start
afterwards.The text was updated successfully, but these errors were encountered: