thunderbird / thunderbird/thunderbird-android
Server search results are lost after an action
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 using the "search messages on server" option, results that are retrieved from the server disappear from the search results list after an action (e.g. message archived) is taken.
To Reproduce
- Use an IMAP account that supports server-side search and have the inbox size set to something other than "all".
- Perform a text search that will get results from the messages that are not currently downloaded by K-9.
- Press the "search messages on server" button and see extra results appear.
- Delete or archive one of the new messages.
- Observe the remaining server-side messages disappear from the search results list.
Expected behavior
The remaining server-side messages should stay in the search results until the search is closed.
Environment (please complete the following information):
- K-9 Mail version: 5.904
- Android version: 11 (LineageOS 18.1)
- Device: OnePlus 3T
- Account type: IMAP (Dovecot server)
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 using the listed IMAP setup and the numbered search/action steps, then trace the server-side search results through the action that deletes or archives a message. Confirm that locally downloaded and server-side results are handled separately. Done means the remaining server-side messages stay visible until the search is closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100