thunderbird / thunderbird/thunderbird-android

The set amount of preview lines not matching in case of an empty line

Open
#11,294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Checklist
  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.
App

K-9 Mail

App version

20.1

Where did you get the app from?

Google Play

Android version

Android 16 , OneUI 8.5 No custom ROM

Device model

Samsung Galaxy S24

Steps to reproduce

N/a

Expected behavior

The set amount of preview lines (under Display settings) should show the email's body text over this amount of lines from start

Actual behavior

The set amount of preview lines (under Display settings) is not respected in case a blank line is part of this amount of lines: in such a case, additional lines after the blank line are not being previewed, even when the set amount of preview lines has not been reached yet

Logs

No response

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 Display settings with an email body containing a blank line, using the configured preview-line count. Trace how the preview text counts and renders lines around the blank line. Done means the configured number of preview lines is respected and text after a blank line is shown when the count has not been reached.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.