Closed
Bug 715207
Opened 13 years ago
Closed 13 years ago
First character entered in any input field with Google Japanese Input is prevalidated
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(fennec11+)
RESOLVED
FIXED
Firefox 13
Tracking | Status | |
---|---|---|
fennec | 11+ | --- |
People
(Reporter: glandium, Assigned: m_kato)
References
Details
(Keywords: inputmethod, Whiteboard: [VKB])
Attachments
(5 files, 1 obsolete file)
The way the Google Japanese Input works (and most other Japanese IMEs, but i don't think i've had such problems with e.g. Simeji or Openwnn) is that you first type kanas and switch a set of a few characters into the appropriate combination of kanji/hiragana/katakana. So when you type a few characters, they are all selected to be converted together. There are also predictive results but that doesn't really matter for the current problem.
Not sure how to best describe the issue. The problem in itself is that when first starting to type in an input field, instead of all characters being selected, the first is left out as if it had been validated by itself to stay as hiragana, and the remaining ones are selected. Hope it's clear enough.
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
tracking-fennec: --- → 11+
Comment 1•13 years ago
|
||
Mike, I'm not really familiar with Japanese input, can you please upload a video, which illustrates the problem? Ideally - two videos: for the incorrect behavior and expected result (though even just the first one would help).
Thanks.
Updated•13 years ago
|
Keywords: inputmethod
Whiteboard: [VKB]
Reporter | ||
Comment 2•13 years ago
|
||
So, assuming you start typing あか, what you see first is this, after a brief moment where the あ is highlighted.
Reporter | ||
Comment 3•13 years ago
|
||
After typing the あ, typing a か highlights the か alone. Subsequently typed characters are also highlighted. The highlighted characters are those used for predictive and conversion engine, which result is shown above the virtual keyboard.
Reporter | ||
Comment 4•13 years ago
|
||
After you try a first, if you hit backspace and start over, the normally expected behavior happens: あ is highlighted.
Reporter | ||
Comment 5•13 years ago
|
||
After typing か again, both characters are hightlighted, as expected.
Updated•13 years ago
|
tracking-firefox11:
+ → ---
Comment 6•13 years ago
|
||
Do I understand correctly? Is this incorrect behavior in the AwesomeBar only? An edit box on a web page seems to show predictions like when both characters are used, except they are not highlighted. Is the latter behavior on the web pages better?
Reporter | ||
Comment 7•13 years ago
|
||
I'll restate what I said on IRC yesterday. This apparently happens in the awesomebar only, and is not a regression: FF9 has the same problem. Input fields in web content however work properly for the prediction and conversion data, but they don't show any highlight.
Assignee | ||
Comment 8•13 years ago
|
||
I think that this is a regression by bug 710843. This bug's fix reset IME on updateGoButton(). Don't call imm.resetInput() during inputing by IME.
Updated•13 years ago
|
Assignee: alex.mozilla → cpeterson
Assignee | ||
Comment 11•13 years ago
|
||
Assignee | ||
Comment 12•13 years ago
|
||
Comment on attachment 604311 [details] [diff] [review]
fix
If having composition string on Awesome bar, doesn't update Go/Search button.
Attachment #604311 -
Flags: review?(cpeterson)
Assignee | ||
Comment 13•13 years ago
|
||
whitespace fix
Attachment #604311 -
Attachment is obsolete: true
Attachment #604311 -
Flags: review?(cpeterson)
Attachment #604313 -
Flags: review?(cpeterson)
Comment 14•13 years ago
|
||
Comment on attachment 604313 [details] [diff] [review]
fix v1.1
Review of attachment 604313 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with these minor changes.
::: mobile/android/base/AwesomeBar.java
@@ +200,5 @@
> + mAwesomeTabs.filter(text);
> +
> + // If awesome bar has composing string, don't call
> + // updateGoButton().
> + // Since that method resets IME, compositing state will be
* Did you mean "composing state", not "compositing state"?
* Also, you don't need to wrap the comments at column 80. We follow Google/Android's Java conventions and wrap at column 100.
@@ +204,5 @@
> + // Since that method resets IME, compositing state will be
> + // broken.
> + Object[] span = s.getSpans(0, s.length(), Object.class);
> + if (span != null) {
> + for (int i = 0; i < span.length; i++) {
I would suggest:
* renaming |Object[] span| to |Object[] spans| (plural)
* and replacing the for loop with a for-each loop like |for (Object span : spans)|.
Attachment #604313 -
Flags: review?(cpeterson) → review+
Assignee | ||
Comment 15•13 years ago
|
||
Whiteboard: [VKB] → [VKB][inbound]
Assignee | ||
Updated•13 years ago
|
Assignee: cpeterson → m_kato
Comment 16•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [VKB][inbound] → [VKB]
Target Milestone: --- → Firefox 13
Updated•5 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
•