Bug 228751 - icon animation in system tray make badly unresponsive
Summary: icon animation in system tray make badly unresponsive
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 14:22 UTC by Kristjan Ugrin
Modified: 2010-12-21 16:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristjan Ugrin 2010-02-27 14:22:56 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    openSUSE RPMs

When I receive a message in kopete and don't respond to it for a longer period, an icon will animate to remind me of unread messages.
At start kwin has a slightly higher cpu usage, but then slowly after time plasma will take aroung 30 - 90 % of cpu and it will lag when when you try to click task manager, right click on system tray...

Steps:
- login into clean desktop
- open kopete
- use someone to send you a message (icon should start spinning)
- leave your computer for at least half hour
- take a look at top - plasma should be using more cpu than normally.

At this point clicking on a task inside manager to bring it in front will take some time to respond, plasma cpu usage will spike during that, icon animation will freeze during that time.
Fiddling with system tray (right clicking on it) also shows the same freezing simptoms.
Comment 1 Dario Andres 2010-02-27 15:03:59 UTC
- Do you have a battery widget embedded into the System Tray ? If you do, could you try disabling/removing it and trying again ?
Regards
Comment 2 Kristjan Ugrin 2010-02-27 15:08:45 UTC
No, the only embedded widget is device manager.
Do you reckon disabling that will help?

Btw, this also happened under 4.3 - there were no embedded widgets at that time.
Comment 3 Dario Andres 2010-02-27 15:09:18 UTC
Ok, then disregard my comment. Thanks
Comment 4 Aaron J. Seigo 2010-08-06 19:53:14 UTC
can you re-test with 4.5.x? (fixes in 4.5 may have addressed this issue as well.)
Comment 5 Kristjan Ugrin 2010-08-07 11:07:42 UTC
Seems fine, except that animation gets stuck.
Comment 6 Marco Martin 2010-12-21 16:39:30 UTC
SVN commit 1208425 by mart:

for the "stuck" part: if a movie was running when it changes, remember the running state and start it again.
as CPU consumption, the fade between frames is not done anymore bringing it to normal levels
BUG:228751


 M  +9 -0      dbussystemtraytask.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1208425