Suggested word still appears even after selecting it to populate text box

VERIFIED FIXED

Status

P2
normal
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: tchung, Assigned: vingtetun)

Tracking

Trunk
ARM
Android

Details

(Whiteboard: [Fennec4b5Testday])

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
Created attachment 515206 [details]
Word suggestion appears again screenshot

The suggested word from my previous entry appears in an empty form box that i chose.  However, selecting it, then proceed to next box and back, will display the suggested word again.   It shouldn't appear, cause i already selected it the first time.

In addition, trying to select the suggested term a second time, does nothing

* See screenshot

REpro:
1) install nightly trunk: Mozilla/5.0 (Android; Linux armv71; rv:2.0b13pre) Gecko/20110225 Firefox/4.0b13pre Fennec/4.0b6pre	
2) visit a page with words you previously suggested. go to a text box, and watch your word appear as a suggestion  (eg. on bugzilla)
3) select the word and watch it populate
4) now hit down arrow to move to the next textbox
5) hit up arrow to go back to previous textbox
6) notice the suggested word appears, despite having selected it the previous time.  Also verify, tapping the suggested word does nothing.

Expected;
- if the word is already prepopulated in the box, no need to show suggestion again

ActuaL:
- suggestion shown in the previous box, despite already present

Updated

8 years ago
tracking-fennec: --- → 2.0-
Priority: -- → P2
Created attachment 515778 [details] [diff] [review]
Patch

The patch just ignore the current value of the input field when building the list of displayable values.
Assignee: nobody → 21
Attachment #515778 - Flags: review?(mark.finkle)
Comment on attachment 515778 [details] [diff] [review]
Patch

nit: add a blank line before the comment
Attachment #515778 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/mobile-browser/rev/d305ed3b442c
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED

Comment 4

8 years ago
Build id: Mozilla/5.0 (Android;Linux armv7l;rv:2.0b13pre)Gecko/20110301
Firefox/4.0b13pre Fennec /4.0b6pre 

works as expected so I will mark it as Verified Fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.