Bug 428006

Summary: Keyboard shortcuts broken in Leap 15.2
Product: [Applications] systemsettings Reporter: Christian Hacker <sw4>
Component: kcm_keysAssignee: Michael Jansen <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde, nate, plasma-bugs
Priority: NOR    
Version: 5.18.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Hacker 2020-10-20 00:10:03 UTC
2020-10-19
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-lp152.44-default
Running:
virtualbox-guest-x11 - VirtualBox X11 drivers for mouse and video 6.1.14-lp152.2.5.1
virtualbox-guest-tools - VirtualBox guest tools 6.1.14-lp152.2.5.1
virtualbox-guest-source - Source files for virtualbox guest kernel modules 6.1.14-lp152.2.5.1


Fault Summary:
The system settings keyboard shortcuts crashed.
No reaction in the Kde gui when typing keyboard shortcuts.
Eg. KWin: "Switch to Next Desktop", "Switch to Previous Desktop";
Eg. Plasma: "Switch to Next Activity", "Switch to Previous Activity";
The fault is caused by configuring in system settings a keyboard shortcut for an additional keyboard layout.


Error Symptoms:
Configure keyboard shortcuts in system settings.
Like:
System Settings > Global Shortcuts:
Other Shortcuts > KWin > Walk Through Windows > Default: Alt+Tab

Additional fault:
Other Shortcuts > KWin > Walk Through Windows (Reverse) > Default: Alt+Shift+Backtab
The above setting should display "Alt-Shift-Tab", not Alt+Shift+Backtab.

Other Shortcuts > KWin > Walk Through Windows (Reverse) > Custom: Alt+Shift+Tab
Other Shortcuts > KWin > Switch to Next Desktop > Custom: Ctrl+Tab
Other Shortcuts > KWin > Switch to Previous Desktop > Custom: Ctrl+Shift+Tab
Other Shortcuts > Plasma > Switch to Next Activity > Custom: Meta+Tab
Other Shortcuts > Plasma > Switch to Previous Activity > Custom: Meta+Shift+Tab

Additional fault:
Keyboard > Shortcuts for Switching Layout > Alternative shortcut: Ctrl+Alt+K
Only this shortcut is displayed via the Kde plasma on-screen feedback (in the middle of the screen).

The typed key-combination appears to be sent directly to the active kde foreground window, instead of being acted upon by the kde system settings for keyboard shortcuts.

Fault Reproduction:
Configure in System Settings an additional keyboard layout and assign a keyboard shortcut.
Like:
System Settings > Hardware > Input Devices:
Keyboard > Hardware > Keyboard model: Apple | Apple Aluminium (ANSI)
Keyboard > Layouts > Add: Layout: German, Default, Label de
Keyboard > Shortcuts for Switching Layout > Main shortcuts: "Left Alt+Left Shift"
Type a configured key combination, eg. for "Switch to Next Activity".


Fault Mitigation:
Reset to Defaults in "Kde > System Settings > Hardware > Input Devices > Keyboard > Advanced > Configure keyboard options > Switching to another layout > (Left Alt+Left Shift)".

Afterwards, configure the layout keyboard switching shortcut again, if it is missing. The Kde gui may be completely unresponsive; if so, a full machine ACPI shutdown helps.
After booting the machine again, magically, all Kde keyboard shortcuts appear to function correctly.


Fault Resolution:
Fix the sources for "Kde > System Settings > Hardware > Input Devices > Keyboard > Layouts: Shortcuts for Switching Layout";
aka "Kde > System Settings > Hardware > Input Devices > Keyboard > Advanced > Configure keyboard options > Switching to another layout > (Left Alt+Left Shift)".
Comment 1 David Redondo 2020-10-20 06:51:57 UTC
Could you please provide a backtrace for the crash?
Comment 2 Christian Hacker 2020-10-20 07:08:11 UTC
My mistake; I chose the wrong administrative priority for this fault report.
There is no crash backtrace. Only broken functionality.
Comment 3 David Redondo 2020-10-20 07:10:03 UTC
Ok then reverting the status
Comment 4 Justin Zobel 2022-10-30 00:40:37 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-14 05:16:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-29 05:20:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!