Open Bug 1424486 Opened 7 years ago Updated 2 years ago

Quick Filter Toolbar is not parsing senders' or recipients' name

Categories

(Thunderbird :: Search, defect)

52 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: pevr, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170807000000 Steps to reproduce: I used the Quick Filter Toolbar to search emails sent by or to “John Doe” whose email address is “xyz123@domain.tld”. Actual results: No email were found, although there are many ones. Expected results: It should have retrieved the emails sent by or to “John Doe”. In my address book, some people do not have their name in their email address (i.e. John Doe's address is xyz123@domain.tld). When searching “John's emails” with either “John”, “Doe” or “John Doe” in the Quick Filter Toolbar, no message from “xyz123@domain.tld” is found.
Happens in safe mode? https://support.mozilla.org/en-US/kb/safe-mode-thunderbird Anything on tools > error console?
Flags: needinfo?(pevr)

Yes, it happens also in safe mode and no error output. Without looking at any code, I'd say the "foo <mail@bar.org>" foo part is just not used for filtering.

I am able to reproduce this problem, too. I believe the issue arises from people who have an email address without their real name in it.

Ideally, an email will have address like "Jane Doe" <jane.doe@foobar.com>, but sometimes it is just the email part (i.e., <jane.doe@foobar.com>). If I have Jane Doe in my address book, the UI will replace the email with the real name and just show "Jane Doe". However, the quick search bar will not show the result if I type in "Jane Doe" because it appears to be searching the original information rather than the translated information.

From a user's perspective, this is difficult to understand, since the name is right there in the UI, but the search does not appear to work. However, assuming that is the underlying algorithm, it is working as implemented. I suggest refactoring to do the search on the translated address rather than the raw address.

Flags: needinfo?(pevr)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.