broulik created this revision. broulik added a reviewer: Plasma. 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 Bind prefix directly and onRepaintNeeded assign it a new Qt.binding. This lets QML re-evaluate the binding when plasmoid.location (referenced in the taskPrefix JS function) changes. TEST PLAN Moved panel around, task graphics updated immediately. Changed theme, task graphics updated immediately. Hovered items before, inbetween, and after the above, worked just fine. REPOSITORY rPLASMADESKTOP Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D2730 AFFECTED FILES applets/taskmanager/package/contents/ui/Task.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas