Here is a debdiff backporting the fix.

** Description changed:

- Steps to reproduce:
+ [Impact]
+ Users running a Qt application with a systemtray icon which updates its icon 
frequently to produce an animation will get unity-panel-service to use all CPU.
+ This is because sni-qt continuously generate new images for the icon which 
unity-panel-service has to decode.
  
+ Skype is an example of application which triggers this bug.
+ 
+ [Development Fix]
+ Bug has been fixed upstream in sni-qt 0.2.6 by computing md4sums of the icon 
pixels, making it possible to reuse existing images instead of always 
generating new ones.
+ 
+ [Stable Fix]
+ debdiff attached to this report backports revision 88.1.4 of upstream, 
implementing the md4sum.
+ 
+ [Test Case]
  1) Open Skype
  2) Disconnect from internet. Skype icon starts to animate
  3) Notice Skype unity-panel-service starts eating up the CPU and often making 
indicator menus unresponsive or lag like Ubuntu is running on a 200mhz cpu
+ 
+ [Regression Potential]
+ No regression expected. The fix has been tested from a PPA for a while now.

** Patch added: "debdiff for sni-qt_0.2.5-0ubuntu3"
   
https://bugs.launchpad.net/ubuntu/+source/sni-qt/+bug/865601/+attachment/2572585/+files/sni-qt_0.2.5-0ubuntu3.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/865601

Title:
  Animating Icon eats up CPU and slows dows unity-panel-service

To manage notifications about this bug go to:
https://bugs.launchpad.net/sni-qt/+bug/865601/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to