Bug 237023 - ICQ users receive HTML tags when I have text formatting on
Summary: ICQ users receive HTML tags when I have text formatting on
Status: RESOLVED DUPLICATE of bug 233330
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 22:28 UTC by Alex Richardson
Modified: 2010-07-06 18:26 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Richardson 2010-05-09 22:28:01 UTC
Version:           1.0.0 (using 4.4.3 (KDE 4.4.3), KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.12-0.1-desktop

I updated KDE to 4.4.3 today and there seems to be some regression in kopete.
I had two contacts (using official ICQ client) complain about receiving message like this:

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" color:#141312; background-color:#ffffff;">lol</span></p>

When I switch text formatting of problem is gone, but of course text is not formatted anymore.
Comment 1 Alex Richardson 2010-05-09 22:31:53 UTC
I just had a quick look at the changes in the 4.4 branch and strangely enough it seems as if there was no commit which could have caused this.
Comment 2 stigmayta 2010-05-15 00:41:52 UTC
Hello,
I can confirm this behaviour, but for me it's an MSN contact who complains receiving the html tags. For me it's just the first message I write to that contact, all further messages don't have html tags in it. To recreate this issue I have to close Kopete (completely, not only the chat window), relaunch it and then the first message has exactly the same html tags as above.

Disabling the text formatting helps here too, but there was a "<p></p>"-tag left in the first message.

I am on Arch Linux using:
Qt: 4.6.2
KDE: 4.4.3 (KDE 4.4.3)
Kopete: 1.0.0
Comment 3 Alex Richardson 2010-05-15 00:54:10 UTC
It also happens with facebook contacts. It seems it has nothing to do with the protocol then I guess.

When sending messages from Kopete to Kopete (One is 4.4.3 the other is trunk in my VM)it also happens, but only for the messages sent from the 4.4.3 kopete. Messages sent from trunk to 4.4.3 are fine, but the other way round the messages are enclosed in HTML tags. When formatting is disabled the tags disappear after the first few messages, but the initial message always has a <p> around it.
Comment 4 Johannes Wienke 2010-05-17 22:23:39 UTC
Can confirm this too for ICQ.
Comment 5 Michal Hlavac 2010-05-18 14:05:55 UTC
I think this bug needs higher priority. It's really annoying...
Comment 6 Samuel Brack 2010-05-21 15:32:26 UTC
I've got the same problem with contacts in ICQ and Jabber (MSN not yet tested) and I don't use text formatting. There are these "<p>...</p>"-Tags in my first message, after this they don't appear any more in a conversation.

I'm using Kopete 1.0.0 in KDE 4.4.3 under Archlinux.
Comment 7 Nico Kruber 2010-05-21 20:30:30 UTC
same here on openSUSE 11.3 with KDE 4.4.3, no Rich text enabled, friends see line breaks in their messengers and I see some <p>...</p> from other Kopete users as well in ICQ
Comment 8 Roman Jarosz 2010-05-22 13:39:39 UTC
Do you have the OTR plugin enabled (checked in plugin config dialog)?
Comment 9 Alex Richardson 2010-05-22 14:42:29 UTC
That's interesting, I can confirm that everything works fine as long as the OTR plugin is diabled. Who would have thought that this is the problem. I never use it so that's no problem for me.

I can confirm disabling OTR plugin is a workaround.
Comment 10 Samuel Brack 2010-05-22 15:15:24 UTC
Disabling the OTR-plugin really seems to make the tags disappear, so I think the bug is somewhere in the code of this plugin.
Comment 11 stigmayta 2010-05-23 01:17:08 UTC
Yes, I have the OTR plugin enabled too but I can't test right now if disabling helps to remove the tags.
Comment 12 Felix W 2010-05-25 16:23:11 UTC
Seems to be a duplicate of bug 233330
Comment 13 Roland Tapken 2010-06-04 10:17:10 UTC
Same problem here since the last update to KDE 4.4.3. I can also confirm the workaround (disable OTR).
Comment 14 Roman Jarosz 2010-07-06 18:26:02 UTC

*** This bug has been marked as a duplicate of bug 233330 ***