Closed Bug 780191 Opened 12 years ago Closed 12 years ago

Form autocomplete wonkiness with Samsung Galaxy Nexus's IME spelling autocorrection

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect, P1)

ARM
Android
defect

Tracking

(firefox15 unaffected, firefox16 verified, firefox17 verified)

VERIFIED FIXED
Firefox 17
Tracking Status
firefox15 --- unaffected
firefox16 --- verified
firefox17 --- verified

People

(Reporter: martijn.martijn, Assigned: cpeterson)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

This is with current trunk build. Steps to reproduce: - Go to provided url, tap on the text input, type 'b c d' and submit - Tap on the text input again, type 'b' -> form autocomplete popup pops up - Tap on the form autocomplete entry 'b c d'. Expected result: 'b c d' shows up in the text input Actual result: ' c d' shows up in the text input Also, the caret is at the start of the text, it should be at the end of the text. Also, when pressing backspace (after moving the caret to the end of the text), you get to see strange behavior.
I can repro with Nightly 17 and Aurora 16 on both my Galaxy Nexus and Note. When I select form autocomplete, the form text changes from "b" to ".c d" (with a period). The problem is that the IME's spelling autocorrection gets confused when . If I disable the IME's autocorrection, then form autocomplete works correctly. We've seen problems like this where some IMEs try autocorrect the partial text inserted by form autocomplete.
Assignee: nobody → cpeterson
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: Autocomplete wonkiness on the Samsung Galaxy Nexus → Form autocomplete wonkiness with Samsung Galaxy Nexus's IME spelling autocorrection
Target Milestone: --- → Firefox 17
^ The problem is that the IME's spelling autocorrection gets confused when Gecko's form autocomplete changes the form text before notifying the IME.
This bug is fallout from bug 764193. Fortunately, I already have a patch with the fix. I had just forgotten the STR for the bug fixed by the patch (until now). <:)
Commit composition string before sending autocomplete text event. XUL Fennec had the same problem, which Makoto fixed in bug 632744.
Attachment #649453 - Flags: review?(blassey.bugs)
Blocks: 725007
Blocks: 755909
No longer blocks: 755909
Attachment #649453 - Flags: review?(blassey.bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 649453 [details] [diff] [review] commit-composition-before-autocomplete.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): Enabling form autocomplete popup in bug 764193 User impact if declined: Form autocomplete is utterly broken in its current state for some IMEs on popular phones like Galaxy Nexus! Testing completed (on m-c, etc.): This is an old bug fix from XUL Fennec uplifted to m-c. Risk to taking this patch (and alternatives if risky): Medium risk because the change might confuse third-party IMEs, *BUT* the code is utterly broken in its current state for some IMEs on popular phones like Galaxy Nexus! String or UUID changes made by this patch: N/A This patch does not need to be uplifted to Beta 15 because form autocomplete is not enabled in that branch.
Attachment #649453 - Flags: approval-mozilla-aurora?
Attachment #649453 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Ok, this bug seems fixed now, but the part in comment 0 where I'm mentioning that I'm seeing strange behavior in combination with the backspace key is not fixed, so I filed bug 783067 for that.
Status: RESOLVED → VERIFIED
The issue described in bug 783067 is still reproducible but I am unable to reproduce the scenario described in comment 0 on: Firefox Mobile 16.0b5 / Aurora 17.0a2 2012-09-26 Samsung Galaxy Nexus (Android 4.1.1) Marking as verified on Firefox Mobile 16 and 17
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: