thunderbird / thunderbird/thunderbird-android

Emails in text/plain with thousands of lines are very slow to display

Open
#5,671 0 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

Hi,

I frequently get reports mailed to me by my servers' scheduled tasks. These are just outputs, and are often thousands of lines of text/plain text.

These emails show one of two problems:

  1. They start displaying quickly when opened but K-9 gets stuck (ANR) when I start scrolling down (I've sent a Feedback Report from the ANR menu for this situation)
  2. They do not start displaying quickly and it takes minutes before anything shows. Touching the screen in the meantime produces the ANR warning.

This did not used to be the case. I think this started happening after the (very nice!) major revamp.

With kind regards,
Sven Berkvens-Matthijsse

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 with a large text/plain email containing thousands of lines, checking both initial display and scrolling behavior. Done means these messages display promptly and can be scrolled without an ANR; the payload does not identify a source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.