<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt><font size="+2">I dont know if you would find this interesting..</font></tt></p>
<p><tt><font size="+2"><br>
</font></tt></p>
<p><tt><font size="+2">In Now Dock Plasmoid (internally) I support
per-activity pinned launchers.</font></tt></p>
<p><tt><font size="+2">My use case is the following in case it will
add information:</font></tt></p>
<p><tt><font size="+2">- there are global launchers that can be
shown in all activities (called Everywhere Launchers)<br>
</font></tt></p>
<p><tt><font size="+2">- if the launcher is not global then the same
launcher can be in different activities (called Per Activity
Launchers)</font></tt></p>
<p><tt><font size="+2">- when a "Per Activity" Launcher is removed
from an activity it is not removed from its rest activities<br>
</font></tt></p>
<p><tt><font size="+2">- a "Per Activity" Launcher can be set as an
"Everywhere" at any point and vice versa<br>
</font></tt></p>
<p><tt><font size="+2">- in the taskmanager first are shown the
"Everywhere" and then the "Per Activity" launchers<br>
</font></tt></p>
<p><tt><font size="+2"></font></tt><br>
</p>
<br>
<div class="moz-cite-prefix">On 10/10/2016 05:00 μμ, ivan (Ivan
Čukić) wrote:<br>
</div>
<blockquote
cite="mid:differential-rev-PHID-DREV-ppnsbyhwjqdkh3m32yhb-req@phabricator.kde.org"
type="cite">
<table>
<tbody>
<tr>
<td style="">ivan created this revision.<br>
ivan added reviewers: Plasma, hein.<br>
Restricted Application added a project: Plasma.<br>
Restricted Application added a subscriber: plasma-devel.
</td>
</tr>
</tbody>
</table>
<a moz-do-not-send="true" style="text-decoration: none; padding:
4px 8px; margin: 0 8px 8px; float: right; color: #464C5C;
font-weight: bold; border-radius: 3px; background-color:
#F7F7F9; background-image: linear-gradient(to
bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid
rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3005"
rel="noreferrer">View Revision</a><br>
<div><strong>REVISION SUMMARY</strong>
<div>
<ul class="remarkup-list">
<li class="remarkup-list-item">The URL in the configuration
file now contains also the list of activities it should be
shown in</li>
<li class="remarkup-list-item">The configuration format is
backwards compatible</li>
<li class="remarkup-list-item">Added API to differentiate
between the shown launchers (for the current activity),
and all configured launchers</li>
<li class="remarkup-list-item">Supports reordering of the
launchers</li>
</ul>
</div>
</div>
<br>
<div><strong>TEST PLAN</strong>
<div>
<ul class="remarkup-list">
<li class="remarkup-list-item">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</li>
<li class="remarkup-list-item">Testing done with automatic
and manual tasks ordering</li>
<li class="remarkup-list-item">Configuration transition
works</li>
<li class="remarkup-list-item">Apropriate launchers are
loaded for each activity</li>
</ul>
</div>
</div>
<br>
<div><strong>REPOSITORY</strong>
<div>
<div>rPLASMAWORKSPACE Plasma Workspace</div>
</div>
</div>
<br>
<div><strong>BRANCH</strong>
<div>
<div>ivan/per-activity-launchers</div>
</div>
</div>
<br>
<div><strong>REVISION DETAIL</strong>
<div><a moz-do-not-send="true"
href="https://phabricator.kde.org/D3005" rel="noreferrer">https://phabricator.kde.org/D3005</a></div>
</div>
<br>
<div><strong>AFFECTED FILES</strong>
<div>
<div>libtaskmanager/autotests/launchertasksmodeltest.cpp<br>
libtaskmanager/launchertasksmodel.cpp<br>
libtaskmanager/launchertasksmodel.h<br>
libtaskmanager/launchertasksmodel_p.h<br>
libtaskmanager/tasksmodel.cpp<br>
libtaskmanager/tasksmodel.h</div>
</div>
</div>
<br>
<div><strong>EMAIL PREFERENCES</strong>
<div><a moz-do-not-send="true"
href="https://phabricator.kde.org/settings/panel/emailpreferences/"
rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div>
</div>
<br>
<div><strong>To: </strong>ivan, Plasma, hein<br>
<strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas<br>
</div>
</blockquote>
<br>
</body>
</html>