Version: SVN (using KDE 4.7.4) OS: Linux While in a conversation, kopete add pending messages to it's dbus interface... This make this dockmanager plugin buggy: http://kde-look.org/content/show.php/kopete+dockmanager?content=148009 Reproducible: Always Steps to Reproduce: Chat with a contact Actual Results: $ qdbus org.kde.kopete /Kopete org.kde.Kopete.contactProperties contact_id pending_messages: <p>wsdfgsdf</p> <p>fdqsf</p> <p>dqsf</p> Expected Results: Chat window is focused, so, there is no pending messages Patch attached to fix this issue
Created attachment 68036 [details] Fix issue
*** This bug has been confirmed by popular vote. ***
I have not looked at the full code, but looking at just the patch, it seems you are creating a memory leak when the event is not added anywhere.
Created attachment 68434 [details] New patch version Fix memory leak
I would like to know if this patch causes any regressions. For example, what kind of messages it prevent from being appended? Only contact conversion messages? does it prevent server messages ("another contact added you", "server is going offline", etc) from being appended as well?