Closed Bug 1000095 Opened 10 years ago Closed 10 years ago

mozInputMethod.mgmt.hide() could not work

Categories

(Firefox OS Graveyard :: Runtime, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rudyl, Assigned: xyuan)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #985331 +++

When trying to implement Bug #985331, I found that the following code could not work anymore to hide the keyboard.

navigator.mozInputMethod.mgmt.hide();

I have a testing branch here,
https://github.com/RudyLu/gaia/tree/keyboard/test_hideKeyboard
Summary: [Keyboard UX update][User Story] Long press spacebar to dismiss keyboard → mozInputMethod.mgmt.hide() could not work
Yuan,

Is this something you could help take a look?
Thanks.
Flags: needinfo?(xyuan)
I'll look into it tomorrow afternoon. Feel free to take it if anyone has time to work on it before that:-)
Assignee: nobody → xyuan
Flags: needinfo?(xyuan)
Blocks: 986992
Attached patch geck v1Splinter Review
I made a mistake with bug 986992 and removed the "removeFocus" message listener for MozInputMethodManager#hide in Keyboard.jsm. It should be added back.
Attachment #8412425 - Flags: review?(fabrice)
See bug 955965 for the mochitest.
Status: NEW → ASSIGNED
Depends on: 955965
Attachment #8412425 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/7620a58abe97
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
This is broken for me.

version	2.6.0.0-prerelease
appbuildid	20151125030226
changeset	099f695d31326c39595264c34988a0f4b7cbc698
platformbuildid	20151125030226
geckobuildid	20151125030226
platformversion	45.0a1
geckoversion	45.0a1

last commit 37250b12 (2015-11-24 16:21:36)
You need to log in before you can comment on or make changes to this bug.