Closed Bug 781020 Opened 12 years ago Closed 12 years ago

SwiftKey backspace can't delete some characters

Categories

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

ARM
Android
defect

Tracking

(firefox14 unaffected, firefox15 unaffected, firefox16 verified, firefox17 verified)

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

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

STR:
1. Load https://support.mozilla.org/en-US/mobile
2. Using SwiftKey IME, type "q" then press BACKSPACE key
3. The "q" string will be deleted, as expected.
4. Now type "q " (with a space)
5. Try to delete "q " with BACKSPACE key.

ER:
The string is deleted.

AR:
You can delete the " " space, but not the "q".
This bug is a regression from TouchPal bug 768106.
Depends on: 768106
Remove IME's composing spans when Gecko resets the composition state.

This patch alerts the IME to stop composing when form autocomplete inserts new text. I can remove the broken workaround for TouchPal bug 768106 because the IME knows the correct composing state and knows not to delete the autocompleted text.
Attachment #650691 - Flags: review?(blassey.bugs)
Attachment #650691 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/1967d96747a8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 650691 [details] [diff] [review]
remove-composing-spans.patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug  	768106
User impact if declined: SwiftKey backspace key will not delete some characters. This is very bad user experience.
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): This patch removes a workaround for a TouchPal IME bug. This patch will fix both bugs. Beta 15 is unaffected because this regression was caused when we re-enabled form autocomplete popup.
String or UUID changes made by this patch: N/A
Attachment #650691 - Flags: approval-mozilla-aurora?
Attachment #650691 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified fix on: Firefox Mobile 16 beta 2, Nightly 18.0a1 2012-09-04 and Aurora 17.0a2 2012-09-05 on Samsung Galaxy Tab 2 7.0 (Android 4.0.4) - Swiftkey 3 Tablet and Samsung Galaxy R (Android 2.3.4) - Swiftkey 3
Status: RESOLVED → VERIFIED
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: