Closed Bug 494809 Opened 15 years ago Closed 6 years ago

CompleteDefaultIndex, when autocompleting in the middle, should respect RTL and avoid forcing unwanted values in the field

Categories

(Toolkit :: Autocomplete, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: mak, Unassigned)

References

Details

Splitted out from bug 494410.
Autocomplete in the middle for completeDefaultIndex was originally implemented in bug 325842.

STR:
1. have an autocomplete field with completeDefaultIndex set and a valid "result" suggestion
2. type "ret"
3. autocomplete field will suggest: "ret[ >> result]" ([] is the selection)

Expected: This should take in count RTL.

4. now press LEFT, RIGHT, or HOME
5. field changes to "ret >> result"

Expected: based on RTL value, if i move toward the suggestion the field should autocomplete, if i move in the opposite direction it should revert back to "ret" and them move cursor to the correct requested position.

Current behavior does not make sense since forces the user to remove something we added for him, even if he does not want it.
Flags: in-testsuite?
Depends on: 325842
PS: notice on current trunk/branch using RIGHT will autocomplete, that behavior was changed with bug 491520 but will probably be reverted with bug 494410.
Flags: in-testsuite?
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.