Open Bug 296974 Opened 20 years ago Updated 2 years ago

mailing list resolution code walks all lists in all addressbooks

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

People

(Reporter: dmosedale, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

This is going to have scaling problems as soon as we start autocompleting
against LDAP addressbooks for lists.  Instead of re-resolving at send time, we
could simply tweak nsMsgCompFields to have a higher-level representation of what
a message recipient is than a string which has to be parsed and reserialized at
every touch.  Proposed interface changes forthcoming.
Blocks: 12409
Attached patch proposed interface changes, v1 (obsolete) — Splinter Review
This will allow the autocomplete code to simply attach the nsIAbCard of the
relevant list to the recipient field in question, so that when resolving at
send time, it doesn't have to walk the addressbooks.  Thoughts?
Comment on attachment 185580 [details] [diff] [review]
proposed interface changes, v1

OK, so while the interface changes I've proposed above may turned out to be a
useful optimization for a later time, they won't be sufficient to solve the
core problem here.  In order to fix the core issues, the walking of
addressbooks, requires that a bunch code that is current synchronous needs to
become async.
Attachment #185580 - Attachment is obsolete: true
Component: Message Compose Window → MailNews: Composition
Product: Thunderbird → Core
Target Milestone: --- → mozilla1.8beta3
Depends on: 297967
The switch that will need to happen here is to using nsIAbDirectoryQuery and
friends to find out about these lists.  Making this fix may inherently fix 12409
without any additional work.
Target Milestone: mozilla1.8beta3 → ---
Assigning bugs that I'm not actively working on back to nobody; use
SearchForThis as a search term if you want to delete all related bugmail at
once.
Assignee: dmose → nobody
QA Contact: composition
Product: Core → MailNews Core
Summary: mail list resolution code walks all lists in all addressbooks → mailing list resolution code walks all lists in all addressbooks
Component: Composition → Message Compose Window
Product: MailNews Core → Thunderbird
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: