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)
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)
1.66 KB,
patch
|
blassey
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•12 years ago
|
||
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
status-firefox15:
--- → unaffected
status-firefox16:
--- → affected
status-firefox17:
--- → affected
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
Assignee | ||
Comment 2•12 years ago
|
||
^
The problem is that the IME's spelling autocorrection gets confused when Gecko's form autocomplete changes the form text before notifying the IME.
Assignee | ||
Comment 3•12 years ago
|
||
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). <:)
Assignee | ||
Comment 4•12 years ago
|
||
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)
Updated•12 years ago
|
Attachment #649453 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Green tryserver run:
https://tbpl.mozilla.org/?tree=Try&rev=6db4694cc2bf
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 8•12 years ago
|
||
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?
Updated•12 years ago
|
Attachment #649453 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 9•12 years ago
|
||
Reporter | ||
Comment 10•12 years ago
|
||
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
Comment 11•12 years ago
|
||
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
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•