Bug 265147

Summary: Kopete eats CPU in KDE 4.6
Product: [Unmaintained] kopete Reporter: Richard Homonnai <Chain>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Richard Homonnai 2011-02-02 00:17:24 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Since the upgrade to KDE 4.6.0, Kopete sequentially start eating CPU more and more over time, until I restart Kopete, then everything is fine for a while. This happens with or without plasma. Also, I am only using XMPP and Skype Protocols.

Reproducible: Always

Steps to Reproduce:
1. Use Kopete
2. Over time CPU consumation rises
3. At some time, Kopete will have all CPU resources

Actual Results:  
Laggy User Interface, slow response

Expected Results:  
Kopete should not slow down the system at all (like before)
Comment 1 Richard Homonnai 2011-02-03 12:15:55 UTC
I have identified the source as the Nowplaying Plugin.

I did this by observing following behaviour:
* Kopete is nice when I am not listening to music
* However when I start listening to music, within minutes Kopete heats up my CPU.

I also have observed the following log messages to help with the problem:

kopete(32290)/kopete (nowlistening) NLJuk::update: Juk is not running!
kopete(32290)/kopete (nowlistening) NLKaffeine::update: Kaffeine is not running!
kopete(32290)/kopete (nowlistening) NowListeningPlugin::buildTrackMessage: "Last.fm 1.5.4.26862"  is playing
kopete(32290)/kopete (nowlistening) NowListeningPlugin::mediaPlayerAdvert: "♫ Last.fm 1.5.4.26862 plays J.B.O.: Rosa Armee Fraktion - Rosa Armee Fraktion ♫"
kopete(32290)/kopete (nowlistening) NowListeningPlugin::buildTrackMessage: "Last.fm 1.5.4.26862"  is playing
kopete(32290)/kopete (nowlistening) NowListeningPlugin::mediaPlayerAdvert: "♫ Last.fm 1.5.4.26862 plays J.B.O.: Rosa Armee Fraktion - Rosa Armee Fraktion ♫"
kopete(32290)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><b>Status-<U+2060>Titel:</b>&nbsp;Lernen</kuil>}: Ent
ity 'nbsp' not declared.. Last tag parsed: b"
kopete(32290)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><br /><b>Status-<U+2060>Nachricht:</b>&nbsp;Ich lerne
 gerade für die Uni. Bitte n...}: Entity 'nbsp' not declared.. Last tag parsed: b"

(this one repeats every few seconds!)

And finally, now that I have turned off the Plugin, everything is fine again. I suspect it is the new MPRIS Interface.
Comment 2 Richard Homonnai 2011-03-31 10:25:09 UTC
Still existent in 4.6.1, although not so hard anymore like in 4.6 (Load klimbs slowly)
Comment 3 Richard Homonnai 2011-07-07 15:30:04 UTC
seems to be fixed in 1.0.80 (4.6.3) - Thanks :)