Open Bug 520146 Opened 15 years ago Updated 2 years ago

[faceted search] faceted results is wrong about the 'To:' identity

Categories

(Thunderbird :: Search, defect)

defect

Tracking

(Not tracked)

People

(Reporter: pascalc, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce the bug:

1/ have several pop and imap accounts setup (no global inbox) with mail
let's say :

madrid@mail.com
paris@mail.com
oslo@mail.com
 
The Madrid account as the Pedro Garcia name associated to it in the preferences
The Paris account as the Jean Martin name associated to it in the preferences
The Oslo account as the Erik Winge name associated to it in the preferences

2/ search for messages that you know are in the Madrid or Paris accounts

3/ look at the To: field in the list of results in the new Search panel

Expected result: the To: field is right
Actual result: the To: field is always the same name, the Oslo account one.

Tested with Thunderbird 3 beta 4, Linux.
Summary: New search features results is wrong about the 'To:' identity → [faceted search] features results is wrong about the 'To:' identity
This points to an issue either in how gloda identities are collected, or in how we look up names from gloda messages.
This is the gloda "me" logic fusing all of the identities into a single contact.  Currently "me" is the only contact subject to fusion.

We could use edit distance on the names to figure out whether to fuse them.  The bigger problem is our assumption that we have a single "me" contact.

This sounds like one of those cases where the use case is using Thunderbird to manage the mail for multiple individuals from a single profile.
(In reply to comment #2)
> This sounds like one of those cases where the use case is using Thunderbird to
> manage the mail for multiple individuals from a single profile.

common in some subsets of professionals: admin assistants, etc

In my case (not job related) some messages get labeled as being To: account A because I copied them to an account A folder from account B.  But the message's  To: is account B.
(In reply to comment #3)
> (In reply to comment #2)
> > This sounds like one of those cases where the use case is using Thunderbird to
> > manage the mail for multiple individuals from a single profile.
> 
> common in some subsets of professionals: admin assistants, etc
> 
> In my case (not job related) some messages get labeled as being To: account A
> because I copied them to an account A folder from account B.  But the message's
>  To: is account B.

The cause is unrelated to the message movement; gloda always identifies messages based on the e-mail addresses (and possibly associated display names) and never the folder or account in which they were found.  The issue is still that gloda maps account A and account B to the same (single) gloda contact and (arbitrarily) used the name from the first thing it saw.
I'm just adding some points from bug 529904:

> I guess the information I added in here that isn't in bug 520146 already can be
summarized into these two points:
> - Gloda merges all the "me" contacts from different identities into one when it
first creates its index; afterward, the name it uses when referring to all
emails (be it the To: or From: field) is the contact with id = 1 in its
contacts table 
> - Changing account names afterward won't change the name gloda uses when
referring to yourself

I "fixed" this with:
% sqlite3 global-messages-db.sqlite
sqlite> update contacts set name = "You" where id = 1;

It's not perfect, but it's better than seeing the wrong name in searches.
Developers! Someone finally fix this bug!
Four months have passed!
It needs the correct work of this hiring!
Thank you in advance and hope to release 3.0.3 it will work correctly!
(In reply to comment #10)
> Developers! Someone finally fix this bug!
> Four months have passed!

Patches are welcome.
Those wanting this bug fixed could at least vote for it!

As a short-term fix, how about someone familiar with the code-base fixing the glaring error, and change the lookup which returns the name of the account, to return something generic such as "Me".
Same Problem with windows version 3.0 through 3.0.4
I have 8 Email Accounts. Always the first one in my account setting list is shown in the "to:" field in the search results.
I have this problem with Mac OSX: "me" is consistently associated with a proper name that is not in any of my account information. I see this fix above but don't understand it. Is there a way to change the "me" association?
I have to problem too still in 3.0.5 and now after 9 months it is very embarassing for the thunderbird team not having addressed this problem.

They speed up the search in 3.1 allowing us to produce problems just quicker and quicker. thanks !
(In reply to comment #17)
> They speed up the search in 3.1 allowing us to produce problems just quicker
> and quicker. thanks !

*LOL* please forgive me but the simple truth of that cheeky statement is just awsome *ROFL* - I've proposed an anonymized version (without version no or product name) for the quips (https://bugzilla.mozilla.org/quips.cgi):
"They've sped up the search in this version allowing us to produce problems just quicker and quicker. Thanks!"

> I have to problem too still in 3.0.5 and now after 9 months it is very
> embarassing for the thunderbird team not having addressed this problem.

Though the first part is probably against the netiquette (https://bugzilla.mozilla.org/page.cgi?id=etiquette.html). Please refrain from negative comments and trust that thunderbird devs are doing their best with the limited number of personnell they have (http://www.mozillamessaging.com/en-US/about/staff/)
We use Thunderbird on some machines with the email accounts of multiple useres in the same profile, because there is just no time for each user to restart Thunderbird with his own profile every time he has to use it. Nor ist there the time to switch the Windows user.
(It´s a kind of drive-by-emailing we practise here, I guess)

So I would be rather glad this bug would be sorted.
Some colleagues already worried the boss would be reading their emails, because his name appeared in the "To:" field of search results of their own mails...
Took me some time to calm them down ;-)
We use Thunderbird on some machines with the email accounts of multiple useres in the same profile, because there is just no time for each user to restart Thunderbird with his own profile every time he has to use it. Nor ist there the time to switch the Windows user.
(It´s a kind of drive-by-emailing we practise here, I guess)

So I would be rather glad this bug would be sorted.
Some colleagues already worried the boss would be reading their emails, because his name appeared in the "To:" field of search results of their own mails...
Took me some time to calm them down ;-)
Could the fix for 543701 have fixed this ?
(In reply to comment #21)
> Could the fix for 543701 have fixed this ?

Unlikely. But that plus bug 591730 might do it.
Changed OS and platform because dupes are in windows and mac.
OS: Linux → All
Hardware: x86 → All
Severity: major → normal
See Also: → 591730
Summary: [faceted search] features results is wrong about the 'To:' identity → [faceted search] faceted results is wrong about the 'To:' identity
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.