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

Jean-Baptiste Mardelle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/mult
                   |                            |imedia/kdenlive/-/commit/37
                   |                            |94704e15c1dc5f9b17eeb8b2c20
                   |                            |19809a3391a
         Resolution|---                         |FIXED

--- Comment #8 from Jean-Baptiste Mardelle <[email protected]> ---
Git commit 3794704e15c1dc5f9b17eeb8b2c2019809a3391a by Jean-Baptiste Mardelle,
on behalf of Ajay Sharma.
Committed on 16/01/2026 at 08:08.
Pushed by mardelle into branch 'master'.

BugFix: Restore custom shortcuts when resetting toolbars

Intercept the 'Configure Toolbars' action to prevent the default behavior from
wiping user-defined shortcuts.

The fix involves:

1. Backing up shortcuts before the dialog opens.
2. Restoring them immediately after the dialog closes.
3. Checking for conflicts (e.g. if 'Defaults' assigns a key to a different
action, we clear it before restoring the user's key).
4. Forcing a save of the restored shortcuts using
`actionCollection()->writeSettings()`. This ensures the shortcuts are properly
persisted by the XMLGUI system immediately after restoration.

M  +55   -0    src/mainwindow.cpp
M  +1    -0    src/mainwindow.h

https://invent.kde.org/multimedia/kdenlive/-/commit/3794704e15c1dc5f9b17eeb8b2c2019809a3391a

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

Reply via email to