Closed Bug 775854 Opened 12 years ago Closed 12 years ago

Form autocomplete suggestions for "example " (with space) includes "example" (without space)

Categories

(Toolkit :: Form Manager, defect, P3)

ARM
Android
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox17 --- affected

People

(Reporter: cpeterson, Unassigned)

References

Details

This example assumes your form autocomplete history includes an entry for the word "cat". STR: 1. Load any page with a text input form. I like using the Firefox Mobile Support page. 2. Type "cat" 3. See "cat|" 4. See autocomplete suggestions include "cat" 5. Type space 6. See "cat |" AR: Autocomplete suggestions still include "cat" ER: Autocomplete suggestions should not include suggestions shorter than the current text
This is reproducible on desktop, so it's an issue with the form autocomplete service, not our IME code. Also, is it really so bad to have a suggestion show if you have additional whitespace in your input box? Sometimes this might be preferred if you copy/pasted a string and accidentally included extra whitespace.
Component: Keyboards and IME → Form Manager
Product: Firefox for Android → Toolkit
This is intentional as part of form awesomecomplete where we match on tokens/words instead of just prefix matching. See bug 446247 and https://wiki.mozilla.org/Firefox/Namoroka/Improved_form_history
I can see how this might be useful, such as knowing that the phrase you've typed is already in your form autocomplete history. I understand now that we're matching words, not whitespace, but it still feels a little strange that the shorter suggestion is still displayed after I have typed a space as I prepare to type a longer phrase. But if this is intentional, I can just close this bug as INVALID.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.