Bug 471370

Summary: Reassigning a shortcut does not get applied
Product: [Applications] systemsettings Reporter: nicos <nicolas.seiller>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: kde, kdebugs, nate, robviren
Priority: NOR    
Version: 5.27.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description nicos 2023-06-23 08:49:53 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open system settings, select the "shortcuts" section, then the "kwin" section.
2. select any action, e.g. "Switch one desktop down"
3. Click on "Add custom shortcut"
4. type keys Meta+e. A pop up is displayed saying "Shorcut Meta+E si already assigned to action 'Dolphin' of Dolphin. Do you want to reassign it?"
5. Click on Yes
6. In the lower right corner of system settings, click on "Apply".

OBSERVED RESULT
typing Meta+e does nothing, not even opening dolphin.

EXPECTED RESULT
When I type Meta+e, plasma switches one desktop down.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 6.3.7-1-default/5.27.6
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
 - If between step 5 and 6 I uncheck the Meta+Ctrl+Down default setting, and check it back, then everything works as I expect.
 - If I click on another section of the settings panel (e.g. "About this system") and come back to Shortcuts -> KWin, the Meta+E setting I put on "switch one desktop down" has disappeared.
 - If after step 6 I select the Dolphin section in the shortcuts, click on "Add custom shortcut", type Meta+e, approve the reassign, click on Apply, and type Meta+E, then Dolphin does show up.
 - I observed the same behavior both on my personal Fedora machine and on my work tumbleweed machine.
 - If I assign another shorcut that does not conflict with another shorcut, then it works as expected.
Comment 1 Nate Graham 2023-09-14 21:24:22 UTC
Can reproduce in Plasma 6 as well.
Comment 2 Nicolas Fella 2024-03-11 22:01:21 UTC
*** Bug 482479 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2024-03-11 22:01:30 UTC
*** Bug 482068 has been marked as a duplicate of this bug. ***