Review Request 123337: Use Animator for NeedsAttention pulse animation and make it less noisy

David Edmundson david at davidedmundson.co.uk
Sat Apr 11 19:11:28 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123337/#review78832
-----------------------------------------------------------

Ship it!


here's a citation for your smooth change:

http://doc.qt.io/qt-5/qquickitem.html#smooth-prop
In Qt Quick 2.0, this property has minimal impact on performance.

at which point it makes sense.

- David Edmundson


On April 11, 2015, 6:59 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123337/
> -----------------------------------------------------------
> 
> (Updated April 11, 2015, 6:59 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> This significantly reduces CPU stress when a tray icon blinks. Also since we reduced the animation times the pulse became super quick and annoying. It is now hardcoded to 2000s which is a little bit slower than the original one (250 times 6) but it's much more comfortable that way imho. Also turning off "smooth" doesn't really help Animators anyway, and cleanup, alwaysRunToEnd should suffice.
> 
> 
> Diffs
> -----
> 
>   applets/systemtray/package/contents/ui/PulseAnimation.qml 538365d 
> 
> Diff: https://git.reviewboard.kde.org/r/123337/diff/
> 
> 
> Testing
> -------
> 
> Pulsing tray icon no longer causes 10%+ CPU consumption of plasmashell
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150411/21710608/attachment.html>


More information about the Plasma-devel mailing list