Open Bug 482303 Opened 16 years ago Updated 2 years ago

Do not show autocomplete when text matches user input

Categories

(Toolkit :: Form Manager, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: elliotkendall, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090309 Minefield/3.2a1pre When pasting text into a form field that's been entered before, auto-complete appears and suggests the same value that was just pasted. This seems unnecessary and can be annoying, especially when pasting values into multiple form fields. Reproducible: Always Steps to Reproduce: 1. Visit a page with a text input 2. Enter some text into the input 3. Copy that text to the clipboard 4. Submit the form 5. Re-visit the page from (1) 6. Paste from the clipboard into the form field Actual Results: The auto-complete list appears, suggesting the value just pasted in. Expected Results: Auto-complete should not appear. I can see two possible ways of addressing this issue: either not invoking auto-complete for pasted text at all, or never suggesting the exact value already in the form field. See also Bug 462690 which is related but not (IMO) a true duplicate.
Component: Location Bar and Autocomplete → Form Manager
Product: Firefox → Toolkit
QA Contact: location.bar → form.manager
Version: unspecified → Trunk
Severity: minor → enhancement
OS: Linux → All
Hardware: x86 → All
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
This is not a duplicate of Bug 262206, although it is closely related. Fixing that bug would render this bug moot, but it's not the same thing. Especially given that 262206 is WONTFIX, I think it makes sense to handle pasted content differently from manually entered.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true

We should exclude autocomplete option that is 100% match to what is already in the input.

Severity: normal → S4
Priority: -- → P3
Severity: S4 → N/A
Mentor: sgalich
Keywords: good-first-bug
Assignee: nobody → jneuberger
Status: NEW → ASSIGNED

steal the bug from janika

Assignee: jneuberger → dlee
Summary: Do not auto-complete pasted text → Do not show autocomplete when text matches user input

I'd really like to stop showing autocomplete when it matches to already entered text, but MattN comment here makes a good reason to keep it at least until we provide some way to manage/delete autocomplete entries.

...makes it difficult to delete one character autocomplete entries

I'd suggest us to hold with this one until we do something about form history management.

Mentor: sgalich
Keywords: good-first-bug
Assignee: dlee → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.