D11783: RFC: [DataContainer] Batch repeated calls of checkForUpdate()

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Mar 29 14:47:11 UTC 2018


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
broulik requested review of this revision.

REVISION SUMMARY
  A single call is processed immediately but any additional calls in quick succession will be batched together to reduce the number of updates signalled.

TEST PLAN
  VLC going crazy can no longer stall plasmashell processing and updating mpris events.
  
  Observed debug output and only saw mpris data engine (not just VLC but also p-b-i) would end up sending multiple change requests. I couldn't find any other engine, e.g. I can't press Caps Lock often enough for this to matter. It might have an impact on queued stuff like time engine or whatever `queckQueueing` does

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D11783

AFFECTED FILES
  src/plasma/datacontainer.cpp
  src/plasma/private/datacontainer_p.h

To: broulik, #plasma
Cc: #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180329/d70ff8d2/attachment.html>


More information about the Kde-frameworks-devel mailing list