Bug 453200

Summary: custom hotkeys cause a crash (not a full system one)
Product: [Applications] systemsettings Reporter: Matej Starc <matej.starc>
Component: kcm_khotkeysAssignee: Michael Jansen <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: a.samirh78, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matej Starc 2022-04-29 16:29:47 UTC
SUMMARY
I am using plasma with Wayland and I found out that custom hotkeys for keyboard input cause a minor crash and do not work. 

STEPS TO REPRODUCE
1.  Go to “Custom shortcuts” in system settings
2.  Right Click (on folder or specified place on the left) → New → Global Shortcut → Send Keyboard Input
3.  Set your trigger hotkey
4. Set your action (what you want it to write). I wanted it to write grave accent character (ASCII=96).
5. Press your hotkey combination and wait for the notification and observe the system tray.

OBSERVED RESULT
Doesn't write word/character, 3rd party apps in system tray disappear and reappear, and sometimes you get a crash report dialog.

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics
Comment 1 Ahmad Samir 2022-05-04 21:16:08 UTC

*** This bug has been marked as a duplicate of bug 452016 ***