elementary / switchboard-plug-keyboard

Switchboard Keyboard Plug
GNU General Public License v2.0
28 stars 22 forks source link

Cannot set "PrintScreen" as a shortcut for any command #430

Closed cshaa closed 1 year ago

cshaa commented 1 year ago

What Happened?

Historically, single key shortcuts couldn't be assigned (see #29). This has been fixed in PR #214. However, it seems that the PR overlooked the Print (or PrintScreen) key. It is still not possible to set it to any other command than "Grab the whole screen".

In Gnome, the default behavior of PrtSc is to “Copy an area to clipboard“, and I wish to use the same convention, but I'm unable to.

Steps to Reproduce

  1. Open “Keyboard → Shortcuts“ in System Settings
  2. Go to the “Screenshots” section
  3. Disable the shortcut for “Grab the whole screen”
  4. Try setting “Print” as the shortcut for any command
  5. See that it's impossible to do
  6. The only way to assign “Print” is to click on “Reset to Default” on the “Grab the whole screen” command

Expected Behavior

If the “Print” key is not assigned, it should be assignable as a single key shortcut.

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response