Bug 358905 - spectacle not tied to 'Print screen' key
Summary: spectacle not tied to 'Print screen' key
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-02 07:41 UTC by Axel Braun
Modified: 2016-02-04 18:36 UTC (History)
0 users

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 Axel Braun 2016-02-02 07:41:22 UTC
Unlike ksnapshot, spectacle is not tied to the 'Print' key on the keyboard.
This would not be an issue, but the 'Shortcut for Window' command does not recognize a keystroke on the 'print' key.

Reproducible: Always
Comment 1 Boudhayan Gupta 2016-02-02 15:22:25 UTC
delete your ~/.config/khotkeysrc file and relogin.
Comment 2 Axel Braun 2016-02-03 11:06:04 UTC
(In reply to Boudhayan Gupta from comment #1)
> delete your ~/.config/khotkeysrc file and relogin.

That did not fix it....
Comment 3 Boudhayan Gupta 2016-02-03 14:06:32 UTC
I need the name of your distro and package version of KHotkeys and Spectacle.
Comment 4 Axel Braun 2016-02-03 18:33:09 UTC
(In reply to Boudhayan Gupta from comment #3)
> I need the name of your distro and package version of KHotkeys and Spectacle.
openSUSE Leap 42.1
spectacle-15.12.1-5.1.x86_64
khotkeys5-5.4.3-3.2.x86_64
Comment 5 Boudhayan Gupta 2016-02-03 19:13:13 UTC
Scream at your distro.

Seriously. I had sent at least 3 mails in the kde-distro-packagers mailing list saying *do not upgrade to Spectacle before you upgrade to KHotkeys 5.5*, and yet such a major distro has a completely broken user experience because they're shipping a completely unsupported package combination.

In the meantime, first remove ~/.config/khotkeysrc and then relogin. Then, go to System Settings -> Shortcuts -> Custom Shortcuts, and make sure everything in the Screenshots subgroup is enabled. If there is *any* other item that seems like it does something with the PrintScreen key, disable it. You'll have to look through all the items. Once that's done, relogin (don't touch the ~/.config/khotkeysrc file again).

This bug is a distro problem - please don't mark it as UNCONFIRMED. If you need further help, don't hesitate to comment here - you can still interact on closed bugs.
Comment 6 Axel Braun 2016-02-04 16:34:22 UTC
OK, will report it against the Distro as well.
I tried your description, but it did not help. In fact there was another entry for print screen (for the old ksnapshot), it was disabled. When I try to assign 'Print' to spectacle, the error messages comes up:
Der Kurzbefehl „Print“ steht in Konflikt mit dem folgenden globalen Kurzbefehl:
Kurzbefehl „Print“ in der Anwendung „KDE Daemon“ für die Aktion „Bildschirm Drucken“
In English: the command 'print' is in conflict with the global command: Application 'KDE Daemon', activity 'print screen'.
If I reassign it, it works
It did not work if I try to assign the 'print' from the menu of spectacle.
Comment 7 Boudhayan Gupta 2016-02-04 18:36:57 UTC
Yes, if the distro had followed our advice and upgraded to Spectacle after upgrading KHotkeys to 5.5, the second "Print Screen" entry would not have been there.