thunderbird / thunderbird/thunderbird-android

Search on server does not retrieve all the emails containing the keyword

Open
#6,504 0 comments 0 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

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 version

6.400

Where did you get the app from?

F-Droid

Android version

LineageOS 19.1 / Android 12

Device model

Samsung Galaxy S7

Steps to reproduce

Use a Outlook.com account in K9.

  • Go to your sent folder
  • Search for a first name "one" that is contained in the email address like one.two@example.com
  • Click on the "distant search icon" to make a request on the server
Expected behavior

Like in the Outlook.com web interface :

  • all emails in the folder containing "one" in the email address are found and retrieved
  • all emails in the folder containing the word "one" in the body are found and retrieved (in the body it can be a mention of the person or a signature)
Actual behavior
  • K9 retrieve only 2 emails (I think the first email is already local in k9 and match the email ; and the second email retrieved is because it is the only one with one in the subject)

  • The Outlook web interface retrieve more than 50 emails

  • It looks like when you do a remote server search from K9 for a full email like one.two@example.com it does not works either.

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 with the remote/server search flow invoked by the distant search icon while viewing the sent folder. Reproduce the Outlook.com case on the listed app and Android versions, then trace how searches for an email address and body keyword are handled; done means matching messages are retrieved consistently with the stated expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.