thunderbird / thunderbird/thunderbird-android
Reading messages while sync is in progress marks them as unread again after sync is complete
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:
- Open K-9
- Pull down to refresh
- Open an unread message
- Go back
- wait for sync to complete
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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