Closed
Bug 1209465
Opened 9 years ago
Closed 9 years ago
Space key on Japanese IME doesn't work
Categories
(Firefox for Android Graveyard :: Keyboards and IME, defect)
Firefox for Android Graveyard
Keyboards and IME
Tracking
(firefox43 fixed, firefox44 fixed)
RESOLVED
FIXED
Firefox 44
People
(Reporter: hsteen, Assigned: jchen)
Details
Attachments
(3 files)
1.66 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
1.28 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
2.40 KB,
patch
|
jchen
:
review+
lizzard
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Switch to Japanese IME, hiragana mode. Try to enter space into a text field. Bug: Firefox doesn't understand you're typing a full-width space, nothing happens at all. First reported on https://webcompat.com/issues/1281
Assignee | ||
Comment 2•9 years ago
|
||
Working on it.
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Flags: needinfo?(nchen)
Assignee | ||
Comment 3•9 years ago
|
||
TextComposition has a workaround where committing a composition as-is doesn't work, when the composition consists of a single ideographic space character [1]. This patch works around that workaround by sending a regular commit event instead of a commit-as-is event. [1] http://mxr.mozilla.org/mozilla-central/source/dom/events/TextComposition.cpp?rev=f4215b484d52#243
Attachment #8673144 -
Flags: review?(esawin)
Comment 4•9 years ago
|
||
(In reply to Jim Chen [:jchen] [:darchons] from comment #3) > TextComposition has a workaround where committing a composition as-is > doesn't work, when the composition consists of a single ideographic > space character Hmm, we should stop using TextComposition in Android widget ASAP... I'm guessing that bug 1199658 is also caused by using TextComposition...
Assignee | ||
Comment 5•9 years ago
|
||
I don't think that's relevant... This bug happens when we dispatch eCompositionCommitAsIs, and TextComposition::DispatchCompositionEvent handles the event. It's not directly related to nsWindow using TextComposition.
Comment 6•9 years ago
|
||
Ah, I see. I probably misunderstood. The hack was for old Chinese IMEs on desktop OSes. So, if you'd like better to disable the hack on mobile platforms, I'd agree with that, though.
Comment 7•9 years ago
|
||
Comment on attachment 8673144 [details] [diff] [review] Work around TextComposition workaround (v1) Review of attachment 8673144 [details] [diff] [review]: ----------------------------------------------------------------- Assuming the old workaround is still required on desktop, I guess that's the best we can do.
Attachment #8673144 -
Flags: review?(esawin) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Add a test to testInputConnection for committing an ideographic space character.
Attachment #8674434 -
Flags: review?(esawin)
Updated•9 years ago
|
Attachment #8674434 -
Flags: review?(esawin) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/67ae96f32f6c https://hg.mozilla.org/integration/mozilla-inbound/rev/edff603cee3e
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/67ae96f32f6c https://hg.mozilla.org/mozilla-central/rev/edff603cee3e
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 11•9 years ago
|
||
I believe that it's enough safe to uplift. Could you try to uplift it to 43?
Flags: needinfo?(nchen)
Assignee | ||
Comment 12•9 years ago
|
||
Approval Request Comment [Feature/regressing bug #]: N/A [User impact if declined]: Cannot enter Japanese/Chinese space character in input fields. [Describe test coverage new/current, TreeHerder]: Locally, m-c [Risks and why]: Small; patch is a simple workaround. [String/UUID change made/needed]: None
Flags: needinfo?(nchen)
Attachment #8684433 -
Flags: review+
Attachment #8684433 -
Flags: approval-mozilla-beta?
Updated•9 years ago
|
status-firefox43:
--- → affected
Comment 13•9 years ago
|
||
Comment on attachment 8684433 [details] [diff] [review] Patch for Beta Low risk fix so android users can type spaces. Please uplift to beta.
Attachment #8684433 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/5ffeff840220
Updated•3 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
•