When I send some long line from KMail and reply comes from Thunderbird, the line is split into multiple lines although there is no character limit for line length. Replies from eg. MS Outlook look fine though. The long line looks OK in both Thunderbird message viewer and reply composer. But I guess there is something that is inserted in the HTML-contents as it's broken every time after getting a reply from Thunderbird. Example, I copy-pasted from this very page one line and replied to it from Thunderbird. Origitanl contents: ===== If your bug isn't there, search KDE Bugtracking System by entering a few key words having to do with your bug in this box. For example: pop3 mail or copy paste. The results will appear above. -- Silver ===== Contents after Mozilla Thunderbird's reply: ===== On 21.12.2012 10:42, Silver Salonen wrote: If your bug isn't there, search KDE Bugtracking System by entering a few key words having to do with your bug in this box. For example: pop3 mail or copy paste. The results will appear above. -- Silver ===== Reproducible: Always Steps to Reproduce: 1. Write a HTML-email from KMail 2. Open that e-mail in Thunderbird and reply to it Actual Results: Long lines get split up Expected Results: Contents should stay as it was originally.
I don't understand. you report me a bug about thunderbird ?
Created attachment 75954 [details] test-message's body part in HTML
My guess is this is a bug in KMail's composer, but it appears only in Mozilla Thunderbird, maybe also in some other e-mail client which I haven't just seen yet :) I attached HTML-part of the original test-message that was built by KMail - it looks like there are some strage HTML-code in there..
I can confirm I see exactly as described in the initial bug report. However, the bug has nothing to do with Thunderbird at all. I think it is just a coincidence that the replies the reporter is seeing are from people using Thunderbird. What happens is an html mail is composed in KMail ( I have seen this in both 4.8.xx, 4.9.xx and 4.10.xx versions of kmail) The mail is displayed correctly by the receiving client. When they reply the mail is displayed correctly in the client they are composing in but once received by kmail - the original text (now quoted text) has strange line breaks - as can be seen in the original bug report above. ----------------------------------------------------------------------------------------------------------------------- e.g. Original html mail composed in kmail Hello. How are you. It's nice to meet you. Quoted reply when received back in kmail Hello. How are you. It's nice to meet you. ------------------------------------------------------------------------------------------------------------ I have seen this in replies sent to kmail from multiple email clients - so I think the bug is probably in the original composed html email.
Created attachment 77901 [details] original composition in kmail 4.10.1 original composition in kmail 4.10.1
Created attachment 77902 [details] composed reply in Thunderbird reply to mail as composed in Thunderbird. Same page breaks occur in Apple Mail and Windows Mail.
Created attachment 77903 [details] reply as received by kmail reply as received by kmail
Created attachment 77904 [details] reply composed in Windows Live Mail Here is a reply to the same email but this time composed in Windows Live Mail. As you can see - the page breaks occur in different places to that composed in Thunderbird - but there should be no page breaks at all.
I prefere screenshots :) But Ok will look at.
Created attachment 77948 [details] Original as composed in KMail Here you go. Images as preferred :-)
Created attachment 77949 [details] Reply as received from Thunderbird
Created attachment 77950 [details] Reply as received from Windows Mail
For the original email message I simply copied some text from a news website and pasted it into KMail as unformatted text. Then I simply made the heading BOLD and then sent.
thanks :) Will look at.
Similar thing happens also when replying (with HTML formatting) to e-mails. In this case some line breaks are lost on quoting. I'll attach one of these cases where the text is quite minimal. In this case the original HTML is: --047d7ba9830287c2bb04d86ea8e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><br clear=3D"all"></div>Mingi Firma AS aadressi ei= leia tabelitest, suhtle nendega ise<br><br><br><br><div>-- <br>lugupidamis= ega,<div>Minu Firma O=DC</div> </div></div> --047d7ba9830287c2bb04d86ea8e4-- After my reply it is: --nextPart2176885.LFTFGTejPQ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/= REC-html40/strict.dtd"> <html><head><meta name=3D"qrichtext" content=3D"1" /><style type=3D"tex= t/css"> p, li { white-space: pre-wrap; } </style></head><body style=3D" font-family:'Sans Serif'; font-size:11pt= ; font-weight:400; font-style:normal;"> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin= -right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Rep= ly.<br /><br />--<br />Silver<br /><br />On Thursday 21 March 2013 14:4= 1:32 Minu Firma O=C3=9C wrote:<br /></p> <p style=3D" margin-top:12px; margin-bottom:0px; margin-left:40px; marg= in-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">= <br /></p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin= -right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Mingi Firma AS aadressi ei leia tabelitest, suhtle nendega ise<br /><br= /><br /><br /></p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:40px; margi= n-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-= - <br />lugupidamisega,</p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:40px; margi= n-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Minu Firma O=C3=9C</p> <p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin= -right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br= /></p></body></html> --nextPart2176885.LFTFGTejPQ--
Created attachment 78264 [details] HTML-reply to a simple HTML email
it's been a while. Any movement on this bug?
Still happens in KMail 4.11 RC2.
We need to generate by hand html and not use QTextDocument::generateHtml... Not easy to support all feature. Will look at.
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.