broulik created this revision. broulik added a reviewer: Plasma. broulik set the repository for this revision to R120 Plasma Workspace. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY It registers global shortcuts Meta+1 through 9 and 0 and will ask the first task manager it finds* to activate the task at the given index. *) It searches all panels on the primary screen for an applet that provides "multitasking" (ie. task manager, icon task, window list) and invokes said method. If there is none, it will then search all panels. This will fit the 90% usecase and avoids an overly complex configuration workflow TEST PLAN I now have 10 new global shortcuts in "Plasmashell" global shortcuts config and pressing them calls the method and invokes said method on task manager. This replaces https://phabricator.kde.org/D2680 and will be accompanied by a patch for task manager REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D3581 AFFECTED FILES shell/shellcorona.cpp shell/shellcorona.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas