thunderbird / thunderbird/thunderbird-android

Word-wrap long lines in message view

Open
#2,370 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the message view with an email containing long unwrapped lines, using the listed K-9 Mail 5.205 and Android 6.0.1 environment as context. Trace the message rendering entry point and verify that affected lines wrap to the phone screen without horizontal scrolling.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.