[Differential] [Request, 11 lines] D2730: [Task Manager] Use Qt.binding for prefix

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Fri Sep 9 14:35:16 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160909/b1587e5c/attachment.html>


More information about the Plasma-devel mailing list