Bug 507651 - `XF86SelectiveScreenshot` not recognized by kglobalshortcuts
Summary: `XF86SelectiveScreenshot` not recognized by kglobalshortcuts
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-29 21:48 UTC by sixty_taro9z
Modified: 2025-07-29 22:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sixty_taro9z 2025-07-29 21:48:25 UTC
SUMMARY
My computer has a for the Windows snipping tool, which in `wev` gives me this:
```
sym: XF86SelectiveScreenshot (268964474), utf8: ''
[        16:     wl_keyboard] key: serial: 116549; time: 273610164; key: 642; state: 0 (released)
```

STEPS TO REPRODUCE
1. Go into the KDE Shortcuts menu.
2. Under "Capture rectangular region", click on the "add" button to map a key to this action.
3.  Push the "snip tool" key (which generates output `XF86SelectiveScreenshot`).

OBSERVED RESULT
Nothing happens, keypress is ignored.

EXPECTED RESULT
Key should be assigned to the given shortcut.

SOFTWARE/OS VERSIONS
```
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Graphics Platform: Wayland
```
Comment 1 Noah Davis 2025-07-29 22:25:23 UTC
XF86SelectiveScreenshot is not supported by Qt and I don't think it's worth it to add a new shortcut handling system just to support this key. If Qt added support for this key we could consider adding an additional shortcut to support this key by default.