https://bugs.kde.org/show_bug.cgi?id=471370

David Redondo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |8f3f2e2719c0459f48c65b19603 |d5683ac64602286008d334e9d73
                   |68a2ab884b14a               |3c7efcaed7000

--- Comment #8 from David Redondo <[email protected]> ---
Git commit d5683ac64602286008d334e9d733c7efcaed7000 by David Redondo.
Committed on 20/03/2026 at 09:34.
Pushed by davidre into branch 'Plasma/6.6'.

kcm/keys: prevent shortcut conflicts during save (BUG: 471370)

Fixes a bug where reassigning or swapping shortcuts could lead to temporary
conflicts due to single-pass updates.

Use a two-phase approach: first remove obsolete shortcuts, then apply new ones,
ensuring conflict-free updates.

To test: assign two actions different shortcuts, then swap them and save.


(cherry picked from commit 8f3f2e2719c0459f48c65b1960368a2ab884b14a)

fa296b49 kcm/keys: prevent shortcut conflicts during save
675518ef kcm/keys: simplify two-phase shortcut saving logic
88c33900 kcm/keys: update initialShortcuts incrementally in two-phase save
e87c84b5 kcm/keys: Remove unnecessary const_as

Co-authored-by: Dávid Bácskay-Nagy <[email protected]>

M  +46   -22   kcms/keys/globalaccelmodel.cpp
M  +1    -0    kcms/keys/globalaccelmodel.h

https://invent.kde.org/plasma/plasma-desktop/-/commit/d5683ac64602286008d334e9d733c7efcaed7000

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to