Bug 430481

Summary: Custom Shortcuts cannot record key presses (Kmenuedit)
Product: [Applications] kmenuedit Reporter: YAFU <yafulinux>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 5.20.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A short video to demonstrate the issue

Description YAFU 2020-12-16 19:52:29 UTC
Created attachment 134125 [details]
A short video to demonstrate the issue

SUMMARY

I couldn't set shortcut keys in KDE Menu Editor, Advanced tab, "Current Shortcut Key" setting because it failed to record my key presses.

STEPS TO REPRODUCE
1. Open KDE Menu Editor and select some app
2. Open "Advanced" tab.
3. In "Current Shortcut Key" click in shortcut field and Press desired key or key combination to set the shortcut.

OBSERVED RESULT

Key presses were not recorded. The shortcut button still showed "None".

A line of error "kf.guiaddons: Cannot record without a window" appeared in terminal every time when pressing the shortcut button.

EXPECTED RESULT

Key presses are correctly recorded.

SOFTWARE/OS VERSIONS

Operating System: KDE Neon (Testing)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2020-12-17 21:29:31 UTC
Ah, the "Cannot record without a window" issue! The root cause for that is tracked with Bug 430388, and there is already a merge request on review that fixes it.

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