<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>365215</bug_id>
          
          <creation_ts>2016-07-07 22:08:53 +0000</creation_ts>
          <short_desc>Animated tray icons cause plasmashell to use up a lot of CPU time</short_desc>
          <delta_ts>2016-08-02 22:32:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>System Tray widget</component>
          <version>5.6.5</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>356479</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nicolas F.">kdebugs</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1606082</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas F.">kdebugs</who>
    <bug_when>2016-07-07 22:08:53 +0000</bug_when>
    <thetext>Should a tray icon be animated, e.g. the quassel icon when receiving a highlight, or the Skype icon while logging in, the &quot;plasmashell&quot; process takes up a good 15% of the total CPU time (25% being maximum for one core), with additional CPU time used by Xorg as well. (So it&apos;s probably busy sending tons of drawing commands)

This is pretty bad when I receive a quassel highlight while I&apos;m not looking, and then notice that plasmashell was busy draining my battery doing god-knows-what to re-render that small area on the screen.

Reproducible: Always

Steps to Reproduce:
1. Have a tray icon which is animated
2. Watch plasmashell shoot up in CPU usage



xf86-video-intel 2.99.917+674+g9154dff-1
xorg-server 1.18.3
no special optimus setup
compositing vsync prevention set to &quot;automatic&quot;

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1611928</commentid>
    <comment_count>1</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2016-08-02 22:32:21 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 356479 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>