<table><tr><td style="">subdiff created this revision.<br />subdiff added a reviewer: Plasma.<br />subdiff added a subscriber: plasma-devel.<br />subdiff set the repository for this revision to R119 Plasma Desktop.<br />subdiff added a project: Plasma.
</td><a 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/D3738" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch reworks the design of the task manager tooltips as requested by task <a href="https://phabricator.kde.org/T2029" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">T2029</a>.</p>
<p><strong>Comparision video:</strong> <a href="https://youtu.be/6MKfBK63kpo" class="remarkup-link" target="_blank" rel="noreferrer">https://youtu.be/6MKfBK63kpo</a></p>
<h3 class="remarkup-header">Features:</h3>
<ul class="remarkup-list">
<li class="remarkup-list-item">New tooltip design:<ul class="remarkup-list">
<li class="remarkup-list-item">Less screen space occupied by tooltips</li>
<li class="remarkup-list-item">Tooltips have always the same size</li>
<li class="remarkup-list-item">Better structured informations about a task: Appname, window title, desktop, activity if useful</li>
<li class="remarkup-list-item">Close button better looking and more visible</li>
</ul></li>
<li class="remarkup-list-item">Group tooltips show per group task all individual informations</li>
<li class="remarkup-list-item">Group tooltips provide context menu per task and its group</li>
<li class="remarkup-list-item">Group tooltips in vertical bar are lined up as column</li>
<li class="remarkup-list-item">If supported by media player, controls are available for each instance separately</li>
<li class="remarkup-list-item">Fixed: In any case secondary media players instances are always also shown in group tooltip</li>
<li class="remarkup-list-item">Fixed: Flickable area when exceeding available display space</li>
<li class="remarkup-list-item">Fixed: mpris2 source name detection only activated on changed sources and not on every new data tick</li>
<li class="remarkup-list-item">Fixed: Many warning and error messages</li>
</ul>
<h3 class="remarkup-header">Technical overview:</h3>
<ul class="remarkup-list">
<li class="remarkup-list-item">TooltipDelegate is loaded per task, which simplifies code and helps to prevent graphical glitches.</li>
<li class="remarkup-list-item">For groups instead of relying on the window list provided by X, we now use a proper submodel of the grouped tasks (because of a Qt bug for now we need to do some workaround here by loading it delayed on a parent index change)</li>
<li class="remarkup-list-item">Window titles are processed by some reg exp to show only the relevant part of it</li>
<li class="remarkup-list-item">Media player instances are distinguished by their process ids</li>
</ul>
<h3 class="remarkup-header">Pictures:</h3>
<p>Default tooltip of opened application:<br />
<a href="https://phabricator.kde.org/F831825" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F831825: Screenshot_20161219_172305.png</a></p>
<p>Media player tooltip:<br />
<a href="https://phabricator.kde.org/F831827" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F831827: Screenshot_20161219_172429.png</a></p>
<p>Group tooltip horizontal panel:<br />
<a href="https://phabricator.kde.org/F831828" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F831828: Screenshot_20161219_172553.png</a></p>
<p>Group tooltip vertical panel:<br />
<a href="https://phabricator.kde.org/F831829" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F831829: Screenshot_20161219_172632.png</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Manually tested on X, can't login to Wayland session for some other reason at the moment, so not tested there (but the old tooltips were broken in Wayland anyway).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3738" rel="noreferrer">https://phabricator.kde.org/D3738</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/ui/ContextMenu.qml<br />
applets/taskmanager/package/contents/ui/Task.qml<br />
applets/taskmanager/package/contents/ui/ToolTipDelegate.qml<br />
applets/taskmanager/package/contents/ui/ToolTipWindowMouseArea.qml<br />
applets/taskmanager/package/contents/ui/main.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a 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>subdiff, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>