[BUG] Esc key not working outside the app
Closed this issue · 3 comments
andro404-MC commented
Describe the bug
When the app is launched the Esc key is not usable outside it which is frustrating especially since I tend to use Neovim for code editing when looking for the next available rig and I can't get to the NORMAL mode
if there's a way to set an "only when on focused" key, please consider using it instead of the current implementation .
To Reproduce
- launch the app
- switch to another app
- Esc key not working
Screenshots
No response
Operating System
archlinux
Desktop Environment
bspwm
Display Server
x11
Installation method
flatpak
Version
2.1.0
Is this a fresh install of the app or an update from a past version?
fresh install
Did this issue appear right away upon installation/updating, or spontaneously?
right after installation
Additional context
No response
andro404-MC commented
[UPDATE] all the ones defined with globalShortcut.register() are global and have this issue
I found this npm package called electron-localshortcut that works exactly like globalShortcut and without using a Menu.
I will be sending a pr soon after testing
andro404-MC commented
PR #242
andro404-MC commented
Merged #242