Add keyboard shortcut support for service menu actions

This is intended to be tested with frameworks/kio!2135 (merged)

Introduce ServiceMenuShortcutManager, which registers all service menu actions with KActionCollection at startup allowing users to assign keyboard shortcuts in Configure Keyboard Shorcuts. Save/Load of configs happens via KXMLGUI in dolphinui.rc.

Notes:

  • Manager initializes before setupGUI() for shortcut restoration
  • Execution and validation handled entirely by KFileItemAction in KIO.

Known issues:

  • action id is not unique yet
  • Currently there are no categories in Shortcut Manager Configuration

BUG: 260266

Screenshot of the Configure Keyboard Shortcuts in Dolphin

image.png

Edited by Albert Mkhitaryan

Merge request reports

Loading