thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Wrap long lines when displaying message (text size gets too small)

Open Djfe opened this issue 7 years ago • 6 comments

K9 doesn't warp links, which makes some e-mails very wide: screenshot_20180208-131048


compared to: screenshot_20180208-131057

Djfe avatar Feb 09 '18 05:02 Djfe

another example, this time not links, but a large number of underscores (I already decoded the email from quoted printable): mail.zip

The lines marked with red on the right, have been correctly wrapped by K9. The divider at the top (this e-mail was forwarded by k9 to myself again. it's the divider between your own message and the forwarded message that K9 adds) stretches to the same exact full width, but the underscores are wider than full width and therefore stretch the viewport

screenshot_20180209-060913

Djfe avatar Feb 09 '18 05:02 Djfe

We could add word-wrap: break-word; to the HTML of each mail to achieve this, I think.

https://www.w3schools.com/cssref/css3_pr_word-wrap.asp

@cketti Sorry to bother you, but what do you think?

Djfe avatar Jul 19 '18 01:07 Djfe

Any updates on this? Solving this issue would greatly improve the UX, as currently I need to zoom in every time to read the text if the email contains even a remotely lengthy non-breakable string, which gets increasingly likely in a long chain of replies. Side note: it seems to me that some word-breaking is performed, but it isn't applied to fixed-width text, or long strings like URLs, so replies in long chains are sometimes ridiculously malformed (to the point where the text becomes vertical instead of horizontal, i.e. 1 character per line).

JCGoran avatar May 20 '22 12:05 JCGoran

@cketti any idea what a good fix for this might be?

ryanleesipes avatar Jun 12 '23 20:06 ryanleesipes

+1

openbrian avatar Nov 11 '23 18:11 openbrian