Bug 325004 - "Print Screen" doesn't work
Summary: "Print Screen" doesn't work
Status: RESOLVED FIXED
Alias: None
Product: khotkeys
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 15:10 UTC by Alexander Mezin
Modified: 2016-10-25 17:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mezin 2013-09-17 15:10:11 UTC
When I press "Print Screen", nothing happens.
If I set any shortcut without "Print Screen", KSnapshot starts.

Ctrl+Print Screen, Alt+Print Screen and so on don't work. Ctrl+Shift+P does.

Reproducible: Always

Steps to Reproduce:
1. Press "Print Screen"
Actual Results:  
Nothing happens

Expected Results:  
KSnapshot should be started

Xorg server 1.14.3
Comment 1 Christoph Feck 2013-09-17 23:07:15 UTC
Please check "System Settings > Shortcuts > Global Shortcuts > component khotkeys", if the "Print" hotkey is indeed assigned to KSnaphot. If not, you have to set it in kmenuedit.
Comment 2 Alexander Mezin 2013-09-17 23:12:11 UTC
Yes, "Print" is assigned.
And if I assign another shortcut without "Print" in it, it starts working.
Comment 3 Christoph Feck 2013-09-18 00:00:04 UTC
Odd, cannot reproduce. Setting just "Print" shortcut for KSnapshot in kmenuedit makes it appear correctly in System Settings, and simply pressing "Prt Sc" key launches KSnapshot from then on.

You could check bug 166608, it contains additional tips or hints.
Comment 4 iwasanewt 2013-11-12 06:03:30 UTC
I have the same problem ever since I upgraded to 13.10
However, if I set the shortcut to the "pause" button, everything works as expected. If I set it back to "prt sc", the shortcut stops working.
Comment 5 Alexander Mezin 2013-11-12 06:07:31 UTC
Interestingly, everything works on Debian Sid.
Maybe it's systemd problem (logind? udev?). I had systemd 208 on Gentoo, and on Debian only have 204.
Comment 6 anidev 2014-01-24 03:19:55 UTC
I am currently running KDE 4.11.3 on opensuse 13.1, and have the exact same issue. Under khotkeys, the PrintScreen command is bound to the "Print" button, which is the print screen button, but pressing that button does nothing. Assigning any other shortcut does work. The print screen button itself is recognized by other programs such as xev, but it just doesn't launch the ksnapshot program. Setting any other command in khotkeys to the print screen button doesn't work either. 

Is there a good way to debug this issue and find out what is swallowing the button press? All I know is that it used to work with kde 4.10, but now it doesn't.
Comment 7 Alexander Mezin 2014-06-12 03:48:39 UTC
Now it works with KDE 4.13 (workspaces 4.11)
Comment 8 sainthyoga2003 2016-10-25 17:36:41 UTC
I am sorry if this bug is in "fixed"  but I am using openSUSE 13.2, KDE 4.14.9 and I have the same issue: Print key assigned to kshorcuts, recognized key but doesn't launch Ksnapshot. If I assign for instance Meta+P ksnapshot is launched.

Print Screen was working until around 1 year but now is not working. If I launch Yast (I guess is Qt) the print key works (doesn't launch ksnapshot, but else shows save dialog).