<table><tr><td style="">hein created this revision.<br />hein added reviewers: Plasma, mart.<br />hein added a subscriber: plasma-devel.<br />Restricted Application 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/D2281" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The Task Manager button delegates currently use a custom C++<br />
QQuickPaintedItem to display text. This is undesirable because<br />
it causes a lot of texture traffic and bypasses the glyph cache<br />
of Qt Quick's OpenGL renderer. However, the C++ code does<br />
complex things - like per-line fadeouts and shadowing - that are<br />
not easily recreated in pure QML, which has kept the C++ label<br />
around up until now`.</p>

<p>This patch gets us on the way by putting the existing label<br />
implementation behind a Loader, and making a pure-QML label<br />
implementation available via an experimental config option.</p>

<p>I'd like to have this in the 5.7 branch because one of our<br />
downstreams (Netrunner Linux) used to ship similar code in<br />
a fork of the applet for visual reasons, and since what they<br />
want to ship aligns with our long-term plans, this will allow<br />
them to avoid the fork while getting us an early tester for<br />
upstream code.</p>

<p>As a nice bonus it ends up being a performance optimization<br />
for Icontasks users, as TextLabel will no longer even be<br />
instanciated there.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMADESKTOP Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.7</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2281" rel="noreferrer">https://phabricator.kde.org/D2281</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/config/main.xml<br />
applets/taskmanager/package/contents/ui/CppTextLabel.qml<br />
applets/taskmanager/package/contents/ui/QmlTextLabel.qml<br />
applets/taskmanager/package/contents/ui/Task.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>hein, Plasma, mart<br /><strong>Cc: </strong>plasma-devel, jensreuterberg, abetts, sebas<br /></div>