thunderbird / thunderbird/thunderbird-android

email sort order is wrong after opening attachment (reception date sorting)

Open
#11,115 5 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

19.2

Where did you get the app from?

F-Droid

Android version

12

Device model

Xiaomi Redmi note 9s

Steps to reproduce

Open email with attachments that is not one of the most recent ones.
Then open it's attachment (downlozd full email and or attachment if required, that was the case for me)
Then return to k9. You will see that the email that has the attachment is now first in the list.

Note that email are ordered by 'reveive/reception date' and not '(header) date'

Expected behavior

Order should use the initial reception date of the email, as it was before opening the attachment.

I think reception date shouldn't be altered when downloading attachment. It should remain as first reception date.

Actual behavior

The email that had the attachment that I opened will be at the top of the list, although it's (reception) date is older than the other emails.

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

Reproduce the issue in K-9 Mail 19.2 on Android by opening an attachment from an older message while sorting by reception date. Trace what changes when the message or attachment is downloaded; done means the message retains its original reception-date position after the attachment is opened.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.