Skip to content

Add migration helper to migrate dynamic shortcuts to desktop file based shortcuts

Vlad Zahorodnii requested to merge work/cherry-pick-563f41c0 into Plasma/6.0

Desktop file based shortcuts are saved differently in the config, and when switching something to it we want to keep the user's configuration.

Doing the migration client side is hard because there is no natural place to execute procedural migration code for declarative desktop file shortcuts.

This introduces a new key for shortcut desktop files in /usr/share/kglobalaccel, X-KDE-Migrate-Shortcut. It contains, comma separated, a component and action name from which the old shortcut is read and migrated to the new storage

(cherry picked from commit 563f41c0)

Merge request reports