Bug 165472

Summary: [testcase] High CPU usage of Plasma+X when panel overfills
Product: [Unmaintained] plasma4 Reporter: Alexey Charkov <alchark>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Initial panel layout
Opening many windows
Adding a systray application
Closing excessive applications

Description Alexey Charkov 2008-07-01 10:59:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.3.1 CFLAGS="-O2 -march=core2 -pipe"
OS:                Linux

When the panel gets filled up with too many tasks/tray items, Plasma+X CPU usage jumps up to about 50% (on my dual-core system, Core2 T7500). Steps to reproduce:

1. Open many windows so that the task manager applet becomes full
2. Open an application that creates a systray icon (e.g. Kopete)

Widgets become somewhat condensed and CPU usage rises. After closing the applications it remains high.
Comment 1 Alexey Charkov 2008-07-01 11:02:43 UTC
Created attachment 25758 [details]
Initial panel layout

This is what my panel looks like normally.
Comment 2 Loic Marteau 2008-07-01 11:05:12 UTC
Hi Alexey,

Which revision do you use ?
Do you have lock logout widget on your panel, if yes can you remove it and
say us if the problem still appears ?

Regards,

Loic
Hi Alexey,<br><br>Which revision do you use ?<br>Do you have lock logout widget on your panel, if yes can you remove it and say us if the problem still appears ?<br><br>Regards,<br><br>Loic<br>
Comment 3 Alexey Charkov 2008-07-01 11:07:19 UTC
Created attachment 25759 [details]
Opening many windows

When many windows are opened, the CPU usage and panel layout is still normal.
Comment 4 Alexey Charkov 2008-07-01 11:09:11 UTC
Created attachment 25760 [details]
Adding a systray application

When a systray application is added, panel becomes somewhat overcrowded, with
widgets shrinked. CPU usage is now high.
Comment 5 Alexey Charkov 2008-07-01 11:15:38 UTC
Created attachment 25761 [details]
Closing excessive applications

When applications that caused the issue are closed, the panel remains
malformatted, with high CPU usage. However, unlocking widgets and locking them
again lowers the CPU usage and restores normal panel formatting.

Plasma revision is 825355, desktop effects enabled (using OpenGL with Intel
driver 2.3.2)
Comment 6 Loic Marteau 2008-07-01 11:20:30 UTC
This seems the bug with lock logout applet fixed in rev 825459
Please update your svn and close the bug if this fix the problem

Thanks
Comment 7 Alexey Charkov 2008-07-01 11:25:17 UTC
Loic, removing the lock/logout applet solves the high CPU usage problem, but not the panel formatting problem. I will now check out and recompile a new revision to see if it is better in this regard.
Comment 8 Loic Marteau 2008-07-01 11:29:40 UTC
Hi Alexey :)

If you have other problem with panel formatting and the high cpu usage is
resolved with svn up, can you close this bug and open an other for the panel
formatting ? Thanks !

Cheers


On 1 Jul 2008 09:25:18 -0000, Alexey Charkov <alchark@gmail.com> wrote:
[bugs.kde.org quoted mail]
Hi Alexey :)<br><br>If you have other problem with panel formatting and the high cpu usage is resolved with svn up, can you close this bug and open an other for the panel formatting ? Thanks !<br><br>Cheers<br><br><br><div>
<span class="gmail_quote">On 1 Jul 2008 09:25:18 -0000, <b class="gmail_sendername">Alexey Charkov</b> &lt;<a href="mailto:alchark@gmail.com">alchark@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
------- You are receiving this mail because: -------<br> You are the assignee for the bug, or are watching the assignee.<br> <br> <a href="http://bugs.kde.org/show_bug.cgi?id=165472">http://bugs.kde.org/show_bug.cgi?id=165472</a><br>
 <br> <br> <br> <br> <br>------- Additional Comments From alchark gmail com&nbsp;&nbsp;2008-07-01 11:25 -------<br> Loic, removing the lock/logout applet solves the high CPU usage problem, but not the panel formatting problem. I will now check out and recompile a new revision to see if it is better in this regard.<br>
 <br>_______________________________________________<br> Panel-devel mailing list<br> <a href="mailto:Panel-devel@kde.org">Panel-devel@kde.org</a><br> <a href="https://mail.kde.org/mailman/listinfo/panel-devel">https://mail.kde.org/mailman/listinfo/panel-devel</a><br>
 </blockquote></div><br>
Comment 9 Alexey Charkov 2008-07-01 17:36:04 UTC
The new SVN revision fixes the issue. Thanks to devs and sorry for the fuss :)