Closed Bug 1006311 Opened 10 years ago Closed 10 years ago

Autocomplete does not work when pasting several email addresses


(Thunderbird :: Message Compose Window, defect)

24 Branch
Windows 7
Not set


(Not tracked)



(Reporter:, Unassigned)


(Whiteboard: [dupeme?])

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1729.0 Safari/537.36

Steps to reproduce:

Copy names from text editor or from cells from spread sheet. These names must be in address book. E.g. 

John Doe
Ana Bob

When pasting into To: field it becomes "John Doe,Ana Bob"

When pressing enter they are seperated into individual reciepients just as described here:

However, auto-completion does not kick in.

Workaround: Click in each recipient field and append a space (works with LDAP address book). For "Personal Address Book" remove last character and re-enter it. Now names are auto-completed with email address.

OS: Win7 32bit
Thunderbird 24.5.0

Actual results:

Names are not auto completed.

Expected results:

All names should be auto-completed after pasting several names and pressing enter.
Does this fail also in safe mode?
Flags: needinfo?(
Whiteboard: [dupeme?]
Yes, exactly the same failure in safe mode (now running 24.6.0).
Also confirmed same behaviour on two other machines.
Flags: needinfo?(
In version 31.1.0 it is even worse:
Names are not separated into individual recipients anymore.
(In reply to from comment #3)
> In version 31.1.0 it is even worse:
> Names are not separated into individual recipients anymore.

Indeed, TB 24 used to split "Anna, Peter" into two lines upon Enter.
TB31.1. doesn't do anything. Which is arguably a good thing (what if it's "Doe, John")...
It is true, TB should not rely on the commas it inserts itself. Instead the table rows should be used for correct splitting.

However, the main issue is the auto completion here:

When inserting only a single name (CTRL+V), and pressing ENTER quickly afterwards, the name is not resolved. 

It seems that auto completion always requires the dropdown box and the user to choose from. Is that the wanted behaviour? I'd prefer TB to select the first entry. Alternatively there could be a button: "Check recipients and get mail addresses from address book".
bug 456550 the same issue?
@Wayne, yes, same issue (but this description is more concise). So this issue is more than 6 years old. Wow.
Closed: 10 years ago
Resolution: --- → DUPLICATE
could anyone tell me that how could i trace back the function that is performing ldap autocompletion  in TB source code.
You need to log in before you can comment on or make changes to this bug.