Bug 507651

Summary: `XF86SelectiveScreenshot` not recognized by kglobalshortcuts
Product: [Applications] Spectacle Reporter: sixty_taro9z
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.