Open Bug 299890 Opened 19 years ago Updated 2 years ago

Auto complete inconsistent when one address matches (involving mail.identity.idXXX.autocompleteToMyDomain)

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

People

(Reporter: simon, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Thunderbird version 1.0.2 (20050317)

If I type the start of an address which matches several entries in my address
book, auto complete gives me those entries, plus what-I-typed-so-far@mydomain.

If only one entry matches, I get just that one entry and nothing for mydomain.

Reproducible: Always

Steps to Reproduce:
1. My account is simon@mydomain.net

2. My address book contains:
bert@def.com
bertrand@ghi.co.uk
fred@xyz.org

3. Type 'bert' and pause. Auto complete offers:
bert@mydomain.net
bert@def.com
bertrand@ghi.co.uk

(This is correct)

4. Type 'fred' and pause. Auto complete offers only:
fred@xyz.org

Actual Results:  
After step 4 there is only 1 address offered.

Expected Results:  
It should also offer:
fred@mydomain.net
have you tried a 1.1a thunderbird trunk build? I believe this has been fixed.
Version: unspecified → 1.0
(In reply to comment #0)
> 4. Type 'fred' and pause. Auto complete offers only:
> fred@xyz.org
> 
> Actual Results:  
> After step 4 there is only 1 address offered.

Not only 1 address offered, but there isn't even a dropdown.

Obviously, this behavior wouldn't apply to identities with
  mail.identity.idXXX.autocompleteToMyDomain   
(a recently-added pref) set to false, but I see the described behavior for the 
identity where I have that pref set to true.
Status: UNCONFIRMED → NEW
Component: Message Compose Window → MailNews: Composition
Ever confirmed: true
OS: Windows 2000 → All
Product: Thunderbird → Core
Hardware: PC → All
Version: 1.0 → Trunk
I think, by the way, there's an implied step between (3) and (4):

3.5) Backspace to clear "bert"
I think David Bienvenu is right and this bug has been fixed.
The minResultsForPopup attribute is set to 3 by default in the autocomplete cell, and is set to 2 only if autocompleteToMyDomain is false.
See also bug 318992.
marking wfm
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
I don't believe this is fixed.  I can reproduce per the steps-to-reproduce with 
TB3a1-0316.  I'd give results for -0327 except autocomplete is completely 
broken on the trunk with recent builds (bug 332004).
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Re-tested on Thunderbird 2.0.0.9

if mail.identity.idXXX.autocompleteToMyDomain is false the auto-complete works as expected. If true then I still see the behaviour I originally reported.

Note that you have to type enough letters to resolve to a single address before auto-complete makes its first attempt. In my original example you can type 'bert' to get
bert@mydomain.net
bert@def.com
bertrand@ghi.co.uk

If you then add an 'r' you get (correctly)
bertr@mydomain.net
bertrand@ghi.co.uk

If you type 'bertr' in one hit you get just
bertrand@ghi.co.uk
and no offer for my domain.

Mike's comment #3 (delete fred and re-type bert) is correct, I missed out taht step.
Assignee: mscott → nobody
Status: REOPENED → NEW
QA Contact: composition
Product: Core → MailNews Core
Summary: Auto complete inconsistent when one address matches → Auto complete inconsistent when one address matches (involving mail.identity.idXXX.autocompleteToMyDomain)
See Also: → 363094
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.