thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
10.9k stars 2.51k forks source link

Word-wrap long lines in message view #2370

Open 123unix opened 7 years ago

123unix commented 7 years ago

Searched for the issue at https://github.com/k9mail/k-9/issues?q=is%3Aissue and amazingly nothing relevant came up.

Expected behavior

When viewing messages with long lines they should be forced to word-wrap to screen size no matter what the message formatting might say.

Actual behavior

On some messages, notably messages from some web clients, one needs to scroll horizontally to read them.

Steps to reproduce

  1. Receive an email with long lines sent from a particularly uncompliant MUA
  2. Open it in k9
  3. See the lines run over the right border of the phone screen

Environment

K-9 Mail version: 5.205

Android version: 6.0.1

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

philipwhiuk commented 7 years ago

K-9 can't know whether the line was supposed to be wrapped or not.

If you want line wrap on plain text emails disable the Fixed message theme.

123unix commented 7 years ago

K-9 may not know whether the line was supposed to be wrapped or not, but it definitely should know that I don't like horizontal scrolling.

Other mailers, for example Gmail, wrap lines no problem.

Disabling the Fixed message theme doesn't have any effect on wrapping in my testing.

On March 10, 2017 1:16:40 PM GMT+02:00, Philip notifications@github.com wrote:

K-9 can't know whether the line was supposed to be wrapped or not.

If you want line wrap on plain text emails disable the Fixed message theme.

Thanks!

-- Alexander

www.123UNIX.com +1-202-455-8399 +380-44-498-1816

smilingverb commented 7 years ago

I've run into the same issue, with a multipart text/plain / text/html message sent from Thunderbird 52.3. In the html part, the whole message is wrapped in a 'pre' tag, and the plain part has no wrapping, as expected.

Both with and without the 'Fixed message theme' setting enabled, the lines do not wrap in K9. @philipwhiuk, is this expected behaviour?

I would like a way to view this message with wrapped lines. Could I be overlooking an existing setting?

joelagnel commented 6 years ago

I actually see too much wrapping :(. I would like the lines to flow based on the screen size and wrap at the screen boundary. Attached is a screenshot. Any chance for a fix? screenshot from 2018-03-22 01-13-42

AbakumovAlexandr commented 5 years ago

So it seems this crucial feature won't be implemented :(

I always use browser and email apps that support word wrapping only, because it's extremely annoying when you can't see the whole line of text without scrolling. For the browser app it's Opera and for email app it's HTC Mail currently.

philipwhiuk commented 4 years ago

Reopening because it shouldn't affect non-fixed message theme.

Screenshots without source are not very helpful for debugging.