Bug 166073 - strange behavior of composer in HTML mode
Summary: strange behavior of composer in HTML mode
Status: RESOLVED DUPLICATE of bug 86925
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.52
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 19:14 UTC by Gastón M. Tonietti
Modified: 2008-07-09 13:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Original text that I wrote to reproduce the bug (478 bytes, text/plain)
2008-07-08 19:17 UTC, Gastón M. Tonietti
Details
Source for the sent mail (3.24 KB, text/plain)
2008-07-08 19:19 UTC, Gastón M. Tonietti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gastón M. Tonietti 2008-07-08 19:14:21 UTC
Version:           1.9.52 (using KDE 4.0.83)
Installed from:    Ubuntu Packages
OS:                Linux

When I write the mail in plain text mode all work fine.
But when I write it in HTML mode, all blank lines are lost, I thinks it is due to use empty paragraphs <p....></p> instead of <br/> to insert empty lines.
Another weird think that happens is that the mail content for text/plain Content-Type uses one line per each word in the mail body, so if I put this in the composer:

KOffice, like most KDE applications, has the unique selling point ...

You will get this in the mail source:

KOffice, 
like 
most 
KDE 
applications, 
has 
the 
unique 
selling
...

You can see it better in the attachments.
Comment 1 Gastón M. Tonietti 2008-07-08 19:17:29 UTC
Created attachment 25943 [details]
Original text that I wrote to reproduce the bug
Comment 2 Gastón M. Tonietti 2008-07-08 19:19:38 UTC
Created attachment 25944 [details]
Source for the sent mail

This is the source shown by the "View Source" dialog
Comment 3 Thomas McGuire 2008-07-09 13:53:50 UTC
I think I fixed the wordwrap issue recently in r828900, see http://websvn.kde.org/?view=rev&revision=828900 (the hidden widget had small width and thus incorrectly wrapped the text).

And for the <p> vs. <br> thing: There's already a bug report about this, see bug 86925.

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