Last Comment Bug 720333 - Only the last letter typed is displayed when HKB is used
: Only the last letter typed is displayed when HKB is used
: inputmethod
Product: Firefox for Android
Classification: Client Software
Component: General (show other bugs)
: Trunk
: ARM Android
: P2 normal (vote)
: Firefox 12
Assigned To: Alex Pakhotin (:alexp)
: Sebastian Kaspari (:sebastian)
: 721231 721250 721613 (view as bug list)
Depends on: 711648
  Show dependency treegraph
Reported: 2012-01-23 02:28 PST by Carla Nadastean
Modified: 2012-03-14 13:20 PDT (History)
13 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Fix (3.24 KB, patch)
2012-01-25 17:42 PST, Alex Pakhotin (:alexp)
blassey.bugs: review+
akeybl: approval‑mozilla‑beta+
Details | Diff | Splinter Review

Description Carla Nadastean 2012-01-23 02:28:03 PST
Build: Fennec/12.0a1 (2012-01-22)
HTC Desire Z (Android 2.3)

Steps to reproduce:
1. Open Fennec app in landscape mode.
2. Navigate to
3. Select the search field.
4. Type something using HKB.

Expected Result:
The text typed should be properly displayed in the search field.

Actual Result: 
Only the last typed letter is displayed.
Comment 1 Brad Lassey [:blassey] (use needinfo?) 2012-01-23 19:29:49 PST
Carla, what software keyboard do you have enabled? (the software keyboard changes how the hardware keyboard behaves)
Comment 2 Carla Nadastean 2012-01-24 02:37:07 PST
The Touch Input software keyboard is enabled on the device.
Comment 3 away[Nov24,Dec5) Kartikaya Gupta ( 2012-01-24 08:19:28 PST
I'm seeing this also. Happens in portrait or landscape, on (so far) any web content input field. I'm testing on my trusty ole Motorola Droid Pro running 2.2.1 with the default IME.
Comment 4 away[Nov24,Dec5) Kartikaya Gupta ( 2012-01-24 08:25:59 PST
A nightly that I have from a while ago (rev c713003d3226) doesn't have this problem, so it's a regression in the last few weeks at most. I can bisect a bit more using tinderbox builds.
Comment 5 away[Nov24,Dec5) Kartikaya Gupta ( 2012-01-24 08:48:47 PST
Regression range:

(49936b49aff3 doesn't demonstrate this problem, but 099ec081e8aa does). Also note that if I remove focus from the input field after typing one character, and then put focus back into the input field and type, the first character remains as is, and the second character (i.e. the new last character) is the one that keeps getting replaced by the newly typed input.
Comment 6 Alex Pakhotin (:alexp) 2012-01-25 15:58:09 PST
*** Bug 721250 has been marked as a duplicate of this bug. ***
Comment 7 Alex Pakhotin (:alexp) 2012-01-25 17:22:46 PST
*** Bug 721231 has been marked as a duplicate of this bug. ***
Comment 8 Alex Pakhotin (:alexp) 2012-01-25 17:42:51 PST
Created attachment 591666 [details] [diff] [review]

Reset the composition when a changed text range is different from the last composing range.
Comment 10 Ed Morley [:emorley] 2012-01-26 04:27:35 PST
Comment 11 Alex Pakhotin (:alexp) 2012-01-26 23:44:23 PST
*** Bug 721613 has been marked as a duplicate of this bug. ***
Comment 12 Brad Lassey [:blassey] (use needinfo?) 2012-01-27 23:32:13 PST
why is aurora not effected by this? Is this a regression from a patch that hasn't made it to aurora yet?
Comment 13 Alex Pakhotin (:alexp) 2012-01-27 23:34:38 PST
Looks like the bug 711648, which was the cause of this issue, hasn't made it yet.
Comment 14 Brad Lassey [:blassey] (use needinfo?) 2012-01-29 18:59:52 PST
Alex, mark the dependency and request aurora approval
Comment 15 Alex Pakhotin (:alexp) 2012-01-30 09:36:04 PST
Comment on attachment 591666 [details] [diff] [review]

[Approval Request Comment]
Regression caused by (bug #): 711648
User impact if declined: Impossible to type with HKB.
Testing completed (on m-c, etc.): 
Risk to taking this patch (and alternatives if risky): Low, mobile only.
Comment 16 Alex Keybl [:akeybl] 2012-02-02 07:03:33 PST
Comment on attachment 591666 [details] [diff] [review]

[Triage Comment]
Mobile only - approved for Beta 11.
Comment 17 Brad Lassey [:blassey] (use needinfo?) 2012-02-06 13:05:20 PST
Comment 18 Paul Feher 2012-02-09 00:49:47 PST
Verified on: 
2012-02-08 Firefox/11.0 
2012-02-08 Firefox/12.0a1 Fennec/12.0a
2012-02-08 Firefox/13.0a1 Fennec/13.0a

Bug no longer reproducible.
Comment 19 Chris Peterson [:cpeterson] 2012-03-14 13:20:36 PDT
*** Bug 723664 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.