Bug 145307 - multi-line messages using jabber show up as 1 line
Summary: multi-line messages using jabber show up as 1 line
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 147087 148101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-11 11:25 UTC by Peter Palm
Modified: 2010-01-17 15:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Palm 2007-05-11 11:25:15 UTC
Version:           0.12.4 (using KDE 3.5.6, Debian Package 4:3.5.6.r1.dfsg.1-4 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.21-ck1-pcpeterp

When receiving a message like this:

<message type='chat' to='xxx@xx.xx/Work' from='yyy@yy.yy/Gaim'><x xmlns='jabber:x:event'><composing/></x><body>maar                                                                                                                                              
natuurlijk</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>maar<br/>natuurlijk</body></html></message>

It seems kopete displays the text message (not the html one), but parses it as html, so the message shows up as 

maar natuurlijk

(which means 'of course', an answer to the question if he could send me a multiline message)
Comment 1 ottmarm 2007-06-01 01:20:55 UTC
I have this problem after changing locales from iso8859-2 to UTF-8 two days before. I'm using KDE-3.5.7 (gentoo). When I'am sending a multiline message, I see (and also the recipient does) only a single line in the upper window. My friend is using KDE-3.5.6 (kubuntu 7.04) with the same codepage and he has got the same problem, too. 
Comment 2 Bram Schoenmakers 2007-08-13 18:08:39 UTC
*** Bug 148101 has been marked as a duplicate of this bug. ***
Comment 3 Bram Schoenmakers 2007-08-13 18:09:46 UTC
*** Bug 147087 has been marked as a duplicate of this bug. ***
Comment 4 Carsten Schlipf 2007-11-06 13:55:54 UTC
I can confirm this defect
Comment 5 Tomas Thiemel 2007-11-15 10:22:27 UTC
I can confirm this problem, too. 
(K)Ubuntu 7.10 amd64, KDE 3.5.8, Kopete 0.12.7

How to cause this problem:
1) when I copy & paste text to a chat window and send it, there are no new lines
2) when I write some text into the chat window and use Alt+Enter as a new line (Ctrl+Enter is OK)
Comment 6 christian tacke 2008-02-23 18:21:05 UTC
(Kubuntu) 7.10 amd64 KDE 4.0.1 Kopete 0.50.1

problem also occurs when using number-block-enter to create new line
Comment 7 Egor Zimin 2008-03-07 00:45:00 UTC
I can confirm this bug too.

Ubuntu 7.10 i386, KDE 3.5.8, Kopete 0.12.7 

This defect occurs when "Send message" hotkey is "Ctrl+Return".
Comment 8 Cristi 2008-03-07 20:04:56 UTC
happens  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd
on yahoo with  kde-svn package to
Comment 9 Js Lebacq 2008-04-02 13:14:36 UTC
The same as Tomas Thiemel (comment #5)
Comment 10 Js Lebacq 2008-04-02 13:17:01 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Detlev Casanova 2008-05-16 09:49:31 UTC
SVN commit 808260 by casanova:

BUG: 145307
CCBUG: 145307
 * Keeps end of line in message part when sending a message which contains several lines.


 M  +1 -1      kopetemessage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=808260
Comment 12 Roman Jarosz 2010-01-17 15:45:24 UTC
Fixed