shell: Remove Meta+<1-9> task-manager shortcut dispatch

Note

Companion MR: plasma-desktop!3884 (merged) - this MR requires that one to be merged first or at the same time.

This MR removes the Meta+<1-9> shortcut registration and the activateTaskManagerEntry() method from shellcorona, which are now handled entirely within the taskmanager applet (see companion MR).

What's removed

  • The shortcut registration loop in ShellCorona::init() that created 10 KActionCollection actions and wired them to activateTaskManagerEntry()
  • The ShellCorona::activateTaskManagerEntry() method that iterated panel views, scanned containment applets for org.kde.plasma.multitasking, and used QMetaMethod::invoke to call into QML
  • The declaration in shellcorona.h

This decouples the shell from the taskmanager applet's internal QML API (activateTaskAtIndex(QVariant)). All task-switching shortcuts now live in the applet alongside the cycling/move shortcuts from plasma-desktop!3819 (merged).

cc @mart @ngraham

Edited by Salman Farooq

Merge request reports

Loading