Closed Bug 1091550 Opened 10 years ago Closed 10 years ago

[Message] Unable to input any character in subject field with Simplified-Chinese IME

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: steveck, Unassigned)

References

Details

(Keywords: regression)

Steps:
1) Add Simplified-Chinese IME '拼音' keyboard in keyboard manager
2)Go to Message app->New Message->click on "..." to pop up "Add Subject"
3)choose "拼" on the keyboard(Original is En on the left bottom of keyboard)
4)Input any char

Expected Result:
Should be able to edit subject field.

Acutal Result:
when user input Chinese charactors by using "pin" on the keyboard, first char will add to field, but removed immediately after it shows up.

Build version:
20141024040202

This issue is discovered while investigating Bug 1085764. When subject placeholder removed after first char input, the field will get another input event with empty textContent, and the subject field will reset to empty again. If we ignore the placeholder removed mechanism, there will be no additional input event. v2.0 does not have this issue because we use another method for handling the placeholder.
Steve, I think it could be useful to have a simple test case with a simpler HTML file, so that the keyboard peers can debug this.
It would also make it easier to debug on Firefox Desktop.

Also, do you think this exists in v2.1? What is the regressing bug? If yes we should make this a blocker 2.1+ :/
blocking-b2g: --- → 2.2?
Component: Gaia::SMS → Gaia::Keyboard
Flags: needinfo?(schung)
Keywords: regression
Hmm, I can't reproduce this issue right now and even in 2.1 :-/ Now the input event could return the correct composing status instead of empty textContent. I've asked Rudy about it and he thought it might related to Bug 1077345, but it's not uplift to 2.1... Anyway it's no longer existed on master and 2.1. Will close as WORKSFORME and finding if there is any other patches might fix it unexpectedly.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(schung)
Resolution: --- → WORKSFORME
blocking-b2g: 2.2? → ---
You need to log in before you can comment on or make changes to this bug.