I dont know if you would find this interesting..

In Now Dock Plasmoid (internally) I support per-activity pinned launchers.

My use case is the following in case it will add information:

- there are global launchers that can be shown in all activities (called Everywhere Launchers)

- if the launcher is not global then the same launcher can be in different activities (called Per Activity Launchers)

- when a "Per Activity" Launcher is removed from an activity it is not removed from its rest activities

- a "Per Activity" Launcher can be set as an "Everywhere" at any point and vice versa

- in the taskmanager first are shown the "Everywhere" and then the "Per Activity" launchers



On 10/10/2016 05:00 μμ, ivan (Ivan Čukić) wrote:
ivan created this revision.
ivan added reviewers: Plasma, hein.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

View Revision <https://phabricator.kde.org/D3005>
*REVISION SUMMARY*

  * The URL in the configuration file now contains also the list of
    activities it should be shown in
  * The configuration format is backwards compatible
  * Added API to differentiate between the shown launchers (for the
    current activity), and all configured launchers
  * Supports reordering of the launchers


*TEST PLAN*

  * It needs the ivan/per-activity-launchers branch of
    plasma-workspace because of the API changes. At the moment, the
    plasmarc file needs to be manually changed for a launcher to be in
    a specific activity or a set of activities
  * Testing done with automatic and manual tasks ordering
  * Configuration transition works
  * Apropriate launchers are loaded for each activity


*REPOSITORY*
rPLASMAWORKSPACE Plasma Workspace

*BRANCH*
ivan/per-activity-launchers

*REVISION DETAIL*
https://phabricator.kde.org/D3005

*AFFECTED FILES*
libtaskmanager/autotests/launchertasksmodeltest.cpp
libtaskmanager/launchertasksmodel.cpp
libtaskmanager/launchertasksmodel.h
libtaskmanager/launchertasksmodel_p.h
libtaskmanager/tasksmodel.cpp
libtaskmanager/tasksmodel.h

*EMAIL PREFERENCES*
https://phabricator.kde.org/settings/panel/emailpreferences/

*To: *ivan, Plasma, hein
*Cc: *plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas

Reply via email to