Closed
Bug 588456
Opened 15 years ago
Closed 15 years ago
IME doesn't commit properly when losing focus on Android
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(fennec2.0b1+)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b1+ | --- |
People
(Reporter: jchen, Assigned: jchen)
References
Details
(Keywords: inputmethod)
Attachments
(1 file, 1 obsolete file)
5.99 KB,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
When a textbox loses focus on Android, the text is not committed properly.
This leads to problems such as decorations (underlines, coloring) staying in the textbox even after focus is lost.
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Comment 1•15 years ago
|
||
Another symptom of this problem is that you move focus from one text field to another, the second text field will receive the commit event and get the text you had intended to enter in the first
Updated•15 years ago
|
tracking-fennec: ? → 2.0b1+
Assignee | ||
Comment 2•15 years ago
|
||
Patch fixes all previous symptoms.
Because we have to commit the composition during ResetInputState, it's easier to just keep a copy of the composition text, rather than to query Java code for it. nsWindow::DispatchEvent is used instead of nsWindow::OnIMEEvent because e10s code calls DispatchEvent directly.
Attachment #467288 -
Flags: review?(mwu)
Assignee | ||
Comment 3•15 years ago
|
||
Moved input connection reset to GeckoSurfaceView.onCreateInputConnection. No change in functionality.
Attachment #467288 -
Attachment is obsolete: true
Attachment #467507 -
Flags: review?(mwu)
Attachment #467288 -
Flags: review?(mwu)
Comment 4•15 years ago
|
||
Comment on attachment 467507 [details] [diff] [review]
Patch v2
Looks good!
Attachment #467507 -
Flags: review?(mwu) → review+
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
This landed on the relbranch, which was almost certainly not what you wanted.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Or maybe it was :-)
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
it should land on both
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•