Bug 408274

Summary: Printscreen shortcut stopped working after update to 5.15
Product: [Unmaintained] khotkeys Reporter: triffid.hunter
Component: generalAssignee: Michael Jansen <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of settings window (two panes) plus demonstration that shell script works as expected when actually invoked

Description triffid.hunter 2019-06-04 06:27:14 UTC
Created attachment 120546 [details]
screenshot of settings window (two panes) plus demonstration that shell script works as expected when actually invoked

I have printscreen bound to a shell script which used to work great, but after updating kde/plasma recently it no longer works - the script simply never gets run.

The mapping is still listed in systemsettings -> workspace -> shortcuts -> custom shortcuts, however nothing happens when I press printscreen.

I tried setting it to other combinations (eg shift+print, ctrl+alt+J), none worked - even if I was asked to reassign it from another action (eg examples -> type hello) that previously worked!

I tried assigning other commands (krita, gimp, logger -t shortcut works), also with no effect.

Thus, it appears that Command/URL global shortcuts have somehow been broken in this update.

Please let me know any debugging steps that may be useful, I miss my conveniently organised screenshots!

Linux/KDE Plasma: Linux 5.1.3
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57
Qt Version: 5.12.3
Comment 1 Nate Graham 2020-06-19 14:22:08 UTC
The shortcuts were migrated from the old KHotkeys system to the newer KGlobalAccel system in the meantime. Any chance this is still happening?
Comment 2 triffid.hunter 2020-06-19 15:53:01 UTC
It seems to have somehow resolved itself at some point in the past year.

I'm on 5.18.5 at the moment, everything's working fine