Closed Bug 710835 Opened 13 years ago Closed 12 years ago

Form autocomplete popup list flickers as you type

Categories

(Firefox for Android Graveyard :: General, defect, P2)

All
Android
defect

Tracking

(firefox11 fixed, firefox12 fixed, fennec11+)

VERIFIED FIXED
Firefox 12
Tracking Status
firefox11 --- fixed
firefox12 --- fixed
fennec 11+ ---

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file)

Follow-up from bug 695444 comment 14.
Steps to reproduce:
- Go to http://people.mozilla.org/~mwargers/tests/autocomplete_forms/textinput_form.html
- Tap on the input, type 'abc' and submit the form
- Tap on the input again
- Now type 'b' a couple of times

Notice how the form autocomplete popup keeps appearing and disappearing on every keystroke.
Blocks: 695444
No longer depends on: 695444
Assignee: nobody → margaret.leibovic
Priority: -- → P3
Changing this to a P2, since I duped bug 711181 to it and that's a P2.

I feel like one patch should fix all the popup flicker problems, but I still have to look into exactly what we need to change.
Priority: P3 → P2
tracking-fennec: --- → 11+
Attached patch patchSplinter Review
I'm not quite sure why we decided to listen for composition* events instead of input events when we first implemented this - my guess is that input events weren't working properly at the time. In any case, this avoids lots of the problems we were having with compositionupdate events (wrong data strings, firing at the wrong times, etc).

The only issue I see with this is that the popup with suggestions doesn't appear when you first focus the text box, but that's not working right now anyway - we can fix that in another bug.
Attachment #587533 - Flags: review?(mark.finkle)
Comment on attachment 587533 [details] [diff] [review]
patch

Glad to see this is working
Attachment #587533 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/ad341c2f7cdf
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Thanks, I verified this is indeed fixed in today's native Fennec build. Also bug 711181 is indeed fixed now, so it was indeed a duplicate.
Status: RESOLVED → VERIFIED
Comment on attachment 587533 [details] [diff] [review]
patch

[Approval Request Comment]
User impact if declined: form autocomplete popups will continue to have lots of problems
Testing completed (on m-c, etc.): verified on Nightly
Risk to taking this patch (and alternatives if risky): input events could have problems again, but they're in a much better state than composition events right now
Attachment #587533 - Flags: approval-mozilla-aurora?
Comment on attachment 587533 [details] [diff] [review]
patch

[Triage Comment]
Mobile only - approving for Aurora.
Attachment #587533 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: