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 790632 - Option to visually wrap long lines in composer
Option to visually wrap long lines in composer
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Composer
3.26.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-11-20 19:58 UTC by Bojan Smojver
Modified: 2017-12-04 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
An example email sent from K9 Mail, lines not wrapped, plain text (79.35 KB, image/png)
2017-11-20 20:22 UTC, Bojan Smojver
Details
Source of the email sent from K9 Mail (125.36 KB, image/png)
2017-11-20 20:23 UTC, Bojan Smojver
Details

Description Bojan Smojver 2017-11-20 19:58:57 UTC
It would be useful to have an option where normal paragraph style can be used for plain text messages, so that while editing a message, long lines wrap in the composer window, but the message is actually sent out without wrapping the lines. This would essentially override "Number of characters for word wrapping" option.

An example of a mail client that does something like this is K9 Mail for Android. While composing a message, the composer window wraps to the window size, dynamically. Once the message is sent (in plain text), the lines are kept as is are are not wrapped at all.

PS. This bug is a continuation of a conversation between Milan and myself off list.
Comment 1 Bojan Smojver 2017-11-20 20:22:54 UTC
Created attachment 364075 [details]
An example email sent from K9 Mail, lines not wrapped, plain text
Comment 2 Bojan Smojver 2017-11-20 20:23:20 UTC
Created attachment 364076 [details]
Source of the email sent from K9 Mail
Comment 3 Milan Crha 2017-12-04 14:47:57 UTC
Thanks for a bug report. That may touch only Preformatted paragraph format, which should use either style "white-space: pre-wrap;" or no "white-space" style. The Normal in plain text mode wraps on 71 characters (by default) and in HTML mode doesn't wrap at all, which, in HTML mode, wraps on the composer width. The other formats are also "boring" for this visual wrapping.
Comment 4 Milan Crha 2017-12-04 16:04:29 UTC
Can be found in View->Visually wrap long lines. I'm wondering how much confusing it'll be with quoted text with long lines, but let's leave it for later (I would cover it too, but I do not know what it should do).

Created commit e9e5c2106d in evo master (3.27.3+)