[Differential] [Request, 399 lines] D2680: [Task Manager] Activate tasks by Meta + number shortcuts
broulik (Kai Uwe Broulik)
noreply at phabricator.kde.org
Tue Sep 6 13:40:24 UTC 2016
broulik created this revision.
broulik added reviewers: Plasma, Plasma: Design, hein.
broulik set the repository for this revision to rPLASMADESKTOP Plasma Desktop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This is a rather often requested functionality but in Plasma this is much trickier as we could have multiple task bars.
Only one task manager applet can have the option enabled. If the user has more than one task manager applet, the configuration dialog will indicate this fact when there's more than one applet present (simply be default, you know).
TEST PLAN
The option is enabled by default, so on startup the first task bar that is created will have this (hence the enum crap instead of a simple bool).
I think KWin at least occupies Meta+0 for it, so that cannot be assigned by default. (Forgot whether the others wee pre-occupied).
When checking the option in an applet while another one already has it, it will be unchecked for the other applet. If you uncheck it, the functionality will be disabled.
Config dialog
F277736: Screenshot_20160906_152525.png <https://phabricator.kde.org/F277736>
When there are multiple applets present (wording/visuals could be improved)
F277737: Screenshot_20160906_152541.png <https://phabricator.kde.org/F277737>
Global shortcuts config
F277738: Screenshot_20160906_153507.png <https://phabricator.kde.org/F277738>
REPOSITORY
rPLASMADESKTOP Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D2680
AFFECTED FILES
applets/taskmanager/CMakeLists.txt
applets/taskmanager/package/contents/code/tools.js
applets/taskmanager/package/contents/config/main.xml
applets/taskmanager/package/contents/ui/ConfigGeneral.qml
applets/taskmanager/package/contents/ui/Task.qml
applets/taskmanager/package/contents/ui/main.qml
applets/taskmanager/plugin/globalshortcuts.cpp
applets/taskmanager/plugin/globalshortcuts.h
applets/taskmanager/plugin/globalshortcutsbackend.cpp
applets/taskmanager/plugin/globalshortcutsbackend.h
applets/taskmanager/plugin/taskmanagerplugin.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma, #plasma:_design, hein
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160906/f794ac64/attachment-0001.html>
More information about the Plasma-devel
mailing list