Bug 428007

Summary: Keyboard shortcuts broken in opensuse Tumbleweed
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.20.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Hacker 2020-10-20 00:30:32 UTC
2020-10-19
Operating System: openSUSE Tumbleweed 20201014
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.14-1-default
Graphics Processor: llvmpipe
Running:
virtualbox-guest-x11 - VirtualBox X11 drivers for mouse and video 6.1.14-2.1
virtualbox-guest-tools - VirtualBox guest tools 6.1.14-2.1
virtualbox-guest-source - Source files for virtualbox guest kernel modules 6.1.14-2.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 > Workspace > Shortcuts:
System Services > KWin > Walk Through Windows: Default shortcut: Alt+Tab

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

System Services > KWin > Walk Through Windows (Reverse): Custom shortcut: Alt+Shift+Tab
System Services > KWin > Switch to Next Desktop > Custom shortcut: Ctrl+Tab
System Services > KWin > Switch to Previous Desktop > Custom shortcut: Ctrl+Shift+Tab

Additional sporadic fault:
System Services > Plasma > Walk through activities > Custom: Meta+Tab
The above setting is displayed as "Meta+Tab, Tab, Tab"

Additional sporadic fault:
System Services > Plasma > Walk through activities > Custom: Meta+Shift+Tab
The above setting is displayed as "Meta+Shift+Tab, Backtab, Backtab"

System Services > Plasma > Walk through activities > Default shortcut: Meta+Tab
System Services > Plasma > Walk through activities (Reverse) > Default shortcut: 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).

Eg. Configure keyboard options > Switching to another layout > "Left Alt+Left Shift".

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)".

Magically, all Kde keyboard shortcuts appear to function correctly; until the next reboot.
After reboot, if the fault is present again, configure the shortcut for switching between layouts again for "Left Alt+Left Shift".
Like:
Right-click on the Kde Panel Task Manager keyboard layout indicator (us) > Keyboard System Settings Module > Layouts > Shortcuts for Switching Layout: Main shortcuts: (Left Alt+Left Shift); ok;
It appears to work better and better with several reboots.


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:09 UTC
Could you please provide backtrace for the crash?
Comment 2 Christian Hacker 2020-10-20 07:09:40 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:25 UTC
Reverting the status
Comment 4 Justin Zobel 2022-10-30 00:40:23 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:21 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:06 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!