Steals Ctrl + Shift + T combo on Windows
patricknelson opened this issue · 4 comments
Hi @patricknelson Yes. I'm aware aware about issue and it's being occurring due to globalShortcut
module of Electron. So, until the solution of the same doesn't come out, we need to try another way out. I'll work on it and try to fix it soon.
I see. I just looked into this a bit, cloned and rebuilt this repo and looked the code a little deeper. They're never going to fix that I think because it would go against the purpose of the module, as it's always going to be OS-level shortcuts. So, as long as you're calling globalShortcut.register('CmdOrCtrl+Shift+t', ...)
then people use these shortcuts OUTSIDE of the app are going to drop this app instantly because of the conflict in the separation of concerns.
I'd suggest finding a way to listen to all of these events on the document
element or adding them as menu entries. It just might be a little more difficult since you won't be able to use the nice cross-OS compatible syntax (e.g. CmdOrCtrl+Shift+t
) but I'm sure it's still doable. For now this sort of kills the app for me, unfortunately.
p.s. Here's a related discussion that I found which covers this topic on the module itself electron/electron#1334
Based on what I'm seeing at the bottom I'll submit a quick PR for you to test out an alternative!
#15 this. Closing the issue.