User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:188.8.131.52) Gecko/20091221 Firefox/3.5.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:184.108.40.206) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 When 'Use display names from my address book' is on, The wrong name is displayed where there are multiple address book entries with the same email address - even when there is an exact match to the display name. Reproducible: Always Steps to Reproduce: 1. Create an address book entry for "John Smith <email@example.com>" 2. Create an address book entry for "Mary Smith <firstname.lastname@example.org>" 3. Find an email to/from "Mary Smith <email@example.com>" Actual Results: The mail is shown to/from "John Smith" Expected Results: The mail is shown to/from "Mary Smith" I suggest that if there are multiple people with the same address, the display name is checked and the best match selected. (or display the received name+email if there is not an exact match).
This is related to but, I think, different from Bug 189895.
(In reply to comment #1) > This is related to but, I think, different from Bug 189895. Why is it different ?
(In reply to comment #2) > (In reply to comment #1) > > This is related to but, I think, different from Bug 189895. > > Why is it different ? Bug 189895 is about the way mailing lists are stored. There should always be an exact one-to-one relationship between mailing list entries and address book entries - even when there are identical address book entries. This issue is about finding the best address book match to incoming Names and e-mail addresses. In this case there could be several address book entries that match wholly or partially. They are related because bug 189895 could be fixed done by searching the address book with name + e-mail. Or it could be fixed by adding a unique reference. The former would (almost) fix this too. The latter wouldn't. The ideal solution would check for variants (e.g. "J Smith", "Smith, John"). But exact matching would probably be acceptable, given that there is likely to only be a small number of variants of someone's display name that people use.
(assuming this behavior hasn't changed - please close bug if that isn't true)
I think the way you'd handle this issue now is to uncheck "Always prefer display name over message header" for the contact(s) in question. Feel free to reopen this if for some reason it doesn't resolve the issue.