Closed
Bug 1292097
Opened 9 years ago
Closed 9 years ago
Dropping new recipients into address widget is very slow
Categories
(Thunderbird :: Message Compose Window, defect)
Thunderbird
Message Compose Window
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 51.0
People
(Reporter: aceman, Assigned: aceman)
References
Details
(Keywords: perf, regression)
Attachments
(1 file)
5.29 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1290729 +++
Dragging many recipients (e.g. from the Contacts sidebar) is slow (tens of seconds for hundreds of recipients), similar to adding them via "Add to To" was before bug 1290729.
Analysis:
AutomatedAutoCompleteHandler.processAllResults() is the last user of awAddRecipient() - the non-batched adding of each recipient individually.
That is not optimal as AutomatedAutoCompleteHandler has knowledge of the whole batch (array) that it needs to process, it just chooses to append them one by one to the recipient box.
I think we can convert it to awAddRecipientArray() easily.
Attachment #8777973 -
Flags: review?(mozilla)
Comment 2•9 years ago
|
||
Comment on attachment 8777973 [details] [diff] [review]
patch
Review of attachment 8777973 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good. I tested by dragging a few recipients from the side panel and the address book. Works as before (which is expected from a refactoring). Since there is only one new comment, I didn't find any nits to pick ;-)
r=jorgk.
Attachment #8777973 -
Flags: review?(mozilla) → review+
Keywords: checkin-needed
Comment 3•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 51.0
You need to log in
before you can comment on or make changes to this bug.
Description
•