Bug 484526 - Canceling the transfer of a key combination still shows shows the change
Summary: Canceling the transfer of a key combination still shows shows the change
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 13:57 UTC by winblocker
Modified: 2024-07-01 14:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description winblocker 2024-03-26 13:57:22 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When i try changing an existing shortcut and use a key combination that is assigned to something else i get correctly asked if i want to transfer the key combination. However if i decline the new keys will still show up. However this is only visual and a refresh of the page will fix it. Does not work on empty bindings.

STEPS TO REPRODUCE
1. Try to overwrite a key combination with one that is in use somewhere else
2. Decline the popup that asks you if you want to re-assign
3. See the change despite you declining it
4. Close / re-open settings everything is as it should be

OBSERVED RESULT
It changes.

EXPECTED RESULT
It should not change.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION
-
Comment 1 cwo 2024-07-01 14:19:50 UTC
Can replicate on current neon developer.

Replication steps on a new user account:

1. System Settings > Shortcuts
2. Select Emoji Selector, Add custom shortcut
3. Press Ctrl+Alt+Shift+O (or some other unassigned combination)
4. Click the button for the newly created shortcut
5. Press Meta+E
6. Select "No" in the resulting dialog.

Meta-E now displays for that shortcut. Clicking Konsole (or any other sidebar entry in the kcm), then returning to Emoji Selector restores the correct shortcut (Ctrl-Alt-Shift-O)