After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772050 - Cannot enter keyboard shortcuts involving Alt + Print Screen
Cannot enter keyboard shortcuts involving Alt + Print Screen
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Rui Matos
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-27 11:54 UTC by Daniel Boles
Modified: 2016-10-10 21:57 UTC
See Also:
GNOME target: ---
GNOME version: 3.21/3.22


Attachments
keyboard: Fix capture of Alt+PrintScreen shortcuts (1.26 KB, patch)
2016-10-05 14:57 UTC, Bastien Nocera
committed Details | Review

Description Daniel Boles 2016-09-27 11:54:29 UTC
As the description states, when trying to enter a keyboard shortcut, if it involves the Alt key and Print Screen, having Alt held down means Print Screen gets ignored. (Other key combos involving Print Screen are OK.)

This means I can't change this shortcut to do something else, as I simply can't enter the required combo once it's gone. e.g.: I prefer Alt+PrintScr to copy to clipboard, a la Win32, unlike the GNOME default of it saving to a file - which I associate with Ctrl+Alt+PrintScr... except now I cannot enter either in g-c-c.

I am running the latest version of everything on Debian unstable, bang up to date, which in this case means the following package of gnome-control-center:

> 3489774 Sep 21 02:02 /var/cache/apt/archives/gnome-control-center_1%3a3.22.0-1_amd64.deb

Please let me know if any other info is required. Thanks!
Comment 1 Bastien Nocera 2016-10-05 14:57:59 UTC
Created attachment 336991 [details] [review]
keyboard: Fix capture of Alt+PrintScreen shortcuts

Alt+PrintScreen gives you Alt+SysRq. Repair the key value to match user
expectations instead.
Comment 2 Rui Matos 2016-10-10 15:59:38 UTC
Review of attachment 336991 [details] [review]:

Yeah, this is defined in xkb's pc symbols file which basically all keymaps end up using so it shouldn't be hitting false positives
Comment 3 Bastien Nocera 2016-10-10 16:11:53 UTC
Attachment 336991 [details] pushed as 6c598fa - keyboard: Fix capture of Alt+PrintScreen shortcuts
Comment 4 Rui Matos 2016-10-10 16:29:41 UTC
(pushing this to the 3-22 branch too)
Comment 5 Daniel Boles 2016-10-10 21:57:27 UTC
Thanks both!