Could you go to Kopete IRC channel? It should be faster than writing mail, my nick is kedge.
Roman On Sat, 31 Jan 2009 21:35:32 +0100, Michael Zanetti <michael_zane...@gmx.net> wrote: > Hi, > > On Saturday 31 January 2009 18:25:54 Roman Jarosz wrote: >> I was debugging bug http://bugs.kde.org/show_bug.cgi?id=182114 and found >> out that it's caused by OTR plugin. The problem is in >> OtrMessageHandler::handleMessage. >> >> It converts the message to plaintext so the formatting and emoticon >> images >> are lost. The toPlainText function also changes the img tag to >> QChar(0xFFFC) so for instance if the original html message is "xx <img >> ... >> > xx" then after calling that function it's "xx 0 xx" where 0 is >> QChar(0xFFFC) and if the message contains 0xFFFC and we call the >> msg.setHtmlBody( body ); then toHtml of QTextDocument returns empty >> string. >> >> All this happens even if the OTR session isn't established (just the >> plugin >> is enabled) >> >> I don't know anything about the OTR plugin so could you please look at >> that >> bug. It would be great to not overwrite the message with plain text if >> it >> isn't OTR message. >> > > I've set up a VirtualBox with Windows, installed Live Messenger and > tried it > out. Unfortuantely I wasn't able to reproduce this issue. > > If I'm writing messages containing standard emoticons (those in section > "Pinned Emoticons" in WLM) I can't see any problem at all. > > If I use those icons found under "Recently used emoticons", for example > the > "SOS Emo*4", I can see a similar problem. The Message is not shown in > Kopete's chat window. The debug output shows the following message: > QObject: Do not delete object, 'unnamed', during its event handler! > > After some little debugging i found out that this happens also if the OTR > Plugin is _not_ enabled. If the plugin is enabled, the message never > reaches > the Plugins handleMessage() slot. > > Well... Obviously there must be another issue here that deletes the > message > even before passing the OTR Plugin. > > During the tests I had enabled only the History plugin (it comes after > the OTR > Plugin) in Kopete. I used Windows Vista and the default Live Messenger > that > gets installed through the Windows start menu. > > Please send more information about how to reproduce the problem. I will > keep > investigating in this issues. > > Michael > > _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel