thunderbird / thunderbird/thunderbird-android

Reading messages while sync is in progress marks them as unread again after sync is complete

Open
#5,554 2 comments 2 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

Describe the bug
When a message sync is currently in progress and you read some messages in the meantime, they are marked as unread again after the sync finishes.

To Reproduce
Steps to reproduce the behavior:

  1. Open K-9
  2. Pull down to refresh
  3. Open an unread message
  4. Go back
  5. wait for sync to complete
  6. See message as unread again

Expected behavior
Messages stay read/unread even if a concurrent sync is running

Environment (please complete the following information):

  • K-9 Mail version: 5.802
  • Android version: 8.1
  • Device: Nexus 5X
  • Account type: 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

Reproduce the issue in K-9 Mail 5.802 using the listed steps, with an IMAP account on Android. Trace how reading a message and marking it read/unread interact with the concurrent sync, then verify that the message state remains unchanged after sync completes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.