New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accelerator for "printscreen" key #4663
Comments
Great, thank you! |
@mradionov @zcbenz , does this work for you now? It doesn't seem to work on KDE + ArchLinux.
This doesn't work for example, but other keyboard shortcuts register fine. Is there a problem between the chair and the keyboard or is the issue still here? Thanks, |
I have the same problem. PrintScreen doesn't work on Windows OS |
Its also doesn't appear to work on OSX either. Allow it might be worth clarifying that Im using the normal printscreen combination for OSX cmd+shift+3, and not a printscreen button on a keyboard. Would be handy to have the printscreen key event launch when any valid combination is used. This may require reading the preferences on each system to determine the users chosen key combination. At the moment Command+Shift+3 works but the user could change it. |
Yeah, that isn't the printscreen keycode. That's a combination of 3 different keycodes. You can listen for that accelerator by listening for |
Still doesn't work on linux. |
Still doesn't work. Guys, did you find any solution or dirty hacks? |
me too.. it is happen when upgrade my electron version.. |
Currently it is not possible to bind global shortcut for print screen key.
I've found that it has a defined constant in:
https://github.com/atom/electron/blob/v0.36.9/atom/common/keyboard_util.cc#L94
but it's actually never used in a condition which identifies registered key:
https://github.com/atom/electron/blob/v0.36.9/atom/browser/ui/accelerator_util.cc#L62
Is there any reason "printscreen" key is not present in this check? Thanks.
The text was updated successfully, but these errors were encountered: