After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757505 - Composer badly rewraps existing text when replying
Composer badly rewraps existing text when replying
Status: RESOLVED DUPLICATE of bug 756883
Product: evolution
Classification: Applications
Component: Composer
3.19.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Tomas Popela
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-11-03 00:44 UTC by Adam Williamson
Modified: 2015-11-03 05:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the problem (162.65 KB, image/png)
2015-11-03 00:44 UTC, Adam Williamson
Details
how the old composer did it (106.86 KB, image/png)
2015-11-03 00:45 UTC, Adam Williamson
Details

Description Adam Williamson 2015-11-03 00:44:32 UTC
Created attachment 314693 [details]
screenshot showing the problem

The webkit composer does a really bad job of re-wrapping lines when replying. I sent myself a test mail with a bunch of 72-character lines:

Here's a test mail with a bunch of lines that are 72 characters wide, y

If I reply to it with the old composer (in Fedora 20), it just allows the quoted lines to be a bit wider than 72 characters - IIRC, one of the reasons 72 characters is the recommended line length for email in the first place is to allow lots of margin for quoting while keeping quoted text under 80 characters, so this makes perfect sense.

Another option would be to completely rewrap the quoted text carefully so it flows properly.

The new composer doesn't do either of the sensible things, though. It just spills over the last couple of characters of the text onto a new line, so when I reply to the mail, my reply looks like this:

> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y
> Here's a test mail with a bunch of lines that are 72 characters wide,
> y

That's awful. I frequently see this affecting my 'real-world' emails, where my replies have weirdly wrapped lines and look bad.
Comment 1 Adam Williamson 2015-11-03 00:45:24 UTC
Created attachment 314694 [details]
how the old composer did it
Comment 2 Tomas Popela 2015-11-03 05:53:10 UTC
(In reply to Adam Williamson from comment #0)
> The webkit composer does a really bad job of re-wrapping lines when
> replying.

It's doing a good job. It is wrapping the 'Normal' blocks by 72 characters as it should be. If you don't like it, you can change the formatting of the blocks by selecting them and changing them to 'Preformatted'.

> If I reply to it with the old composer (in Fedora 20), it just allows the
> quoted lines to be a bit wider than 72 characters

It was using 'Preformatted' blocks for quoted content. For Evolution 3.20 we introduced a new option to get this behavior back - see bug 756883

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