D7640: QtCurve: reduce progressbar timer overhead

René J.V. Bertin noreply at phabricator.kde.org
Fri Sep 1 16:03:12 UTC 2017


rjvbb added a comment.


  Actually we do when the last progressbar is hidden, destroyed (or gets a QEvent::Close, testing that now).
  
  The reason we need to run a timer when progressbars are visible is how their busy mode is implemented. That does not have a separate state and there's no signal that's sent when the state changes. As far as I've seen the only option is polling. I'll have a look at how Breeze and/or Oxygen do this.

REPOSITORY
  R626 QtCurve

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

To: rjvbb, yuyichao, #plasma
Cc: davidedmundson, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170901/e0532511/attachment.html>


More information about the Plasma-devel mailing list