Closed Bug 632542 Opened 15 years ago Closed 14 years ago

Text entered with SlideIT VKB sometimes disappears

Categories

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

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhirata, Assigned: alexp)

Details

(Whiteboard: [vkb])

Attachments

(1 file)

1. download slideIT VKB 2. set the system to use SlideIT as a input method 3. open fennec to http://people.mozilla.com/~nhirata/html_tp/formsninput.html 4. click in a field 5. try slide typing or typing regularly Expected: the typing will show Actual: field is still blank
Whiteboard: [vkb]
Mozilla/5.0 (Android; Linux armv71; rv2.0b12pre) Gecko/20110208 Firefox/4.0b12pre Fennec/4.0b5pre I needed some other steps in here: 1. download slideIT VKB 2. set the system to use SlideIT as a input method 3. open fennec to http://people.mozilla.com/~nhirata/html_tp/formsninput.html 4. click in a field 5. type something 6. submit the form. 7. hit the back button 8. click in a field 9. try slide typing or typing regularly Expected: the typing will show Actual: field is still blank
Summary: SlideIT VKB does not type anything in a field → SlideIT VKB does not type anything in a field after hitting the system back button
Priority: -- → P2
Assignee: nobody → alexp
Status: NEW → ASSIGNED
I cannot reproduce the bug as it is described, though there is still a problem with SlideIT keyboard in Fennec. Sometimes the entered word gets deleted when a space is typed after that. The main issue is that it doesn't happen every time. Sometimes the word with a space is added correctly, but most of the time we receive deleteSurroundingText call, but no commitText with the updated word after that, which is weird. I'll do more research to understand why this might happen.
Seems like SlideIT VKB sometimes gets confused on our update of the edit field when it asks to delete the last word, and after this confusion it just stops sending us the new text, which had to replace the deleted word. We wouldn't have this problem if SlideIT would do it properly, like other IMEs do: start a batch operation before actually updating the last word, and not after it has already requested to delete it to rewrite. Some workaround is needed to deal with what we have.
Summary: SlideIT VKB does not type anything in a field after hitting the system back button → Text entered with SlideIT VKB sometimes disappears
Attached patch FixSplinter Review
This fixes the issue. Tested with 10 different IMEs - seems to be working. The patch is for the birch branch.
Attachment #569879 - Flags: review?(blassey.bugs)
Comment on attachment 569879 [details] [diff] [review] Fix Review of attachment 569879 [details] [diff] [review]: ----------------------------------------------------------------- Please talk with qa to work out a thorough test plan to find any regressions this may cause
Attachment #569879 - Flags: review?(blassey.bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Naoki, Kevin, do you test the birch branch at all? We need to make sure this change does not break anything.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: