Bug 134335

Summary: Nudge flood freezes Kopete
Product: [Unmaintained] kopete Reporter: Pascal S. de Kloe <pascal>
Component: MSN PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: tiposchi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pascal S. de Kloe 2006-09-19 16:24:33 UTC
Version:           0.12.2 (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages

Kopete can't handle a large amount of Nudges. Someone with a fast finger can lock Kopete within 12 seconds on a dual Xeon 2.4GHz.
The window becomes unresponsive and the CPU usage goes up to a 100%. Kopete does not restore.

This problem was tested with MSN.
Comment 1 Matt Rogers 2006-11-10 06:32:49 UTC
If it crashes, do you have a backtrace?
Comment 2 Pascal S. de Kloe 2006-11-10 07:53:33 UTC
It doesn't crash. Just try it and you'll see.
Comment 3 Philip Rodrigues 2006-11-10 19:14:21 UTC
Retitling to reflect comment 2. Matt, do you use severity 'crash' for freeze-type bugs in kopete, or just 'normal'?
Comment 4 Matt Rogers 2006-11-10 23:09:05 UTC
normal. :)
Comment 5 Bram Schoenmakers 2007-08-11 19:23:52 UTC
*** Bug 147985 has been marked as a duplicate of this bug. ***
Comment 6 Ruud Koolen 2008-07-07 15:36:51 UTC
Confirmed in kde4 (Kopete 0.50.80).
Comment 7 Ruud Koolen 2008-07-07 15:44:30 UTC
This is probably a bug in the "Kopete" chat window style, as the "Clear" style doesn't have this problem. The "Kopete" style seems to nest nudges in consecutive tables or something along those lines (each nudge is slightly narrower than the previous), which undoubtedly slows down khtml.
Comment 8 Salvo "LtWorf" Tomaselli 2008-07-09 15:42:40 UTC
In my case it was likely due to several notifications handled by knotify.
The easiest solution would be store a timestamp of the last nudge and show the new one only if the previous is more than 3 second old.
Comment 9 Matt Rogers 2008-11-15 06:08:54 UTC
We've completely replaced the current MSN implementation with a new MSN implementation which  If you continue to experience this bug after testing the new implementation (which can be gotten from our subversion repository or with the KDE 4.2 Beta 1 release), PLEASE, open a new bug rather than reopening this bug. Thank you for your time and efforting in helping us find and fix problems in Kopete.