Closed Bug 1203045 Opened 9 years ago Closed 9 years ago

[TV 2.5] Dispatch input messages via mozInputMethod API in server side

Categories

(Firefox OS Graveyard :: Gaia::TV::System, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(feature-b2g:2.5+)

RESOLVED FIXED
feature-b2g 2.5+

People

(Reporter: lchang, Assigned: lchang)

References

Details

(Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-picked<2015/11/10>])

Attachments

(1 file)

After bug 1197772 implemented, we need to dispatch these input events from the client-side page to the correct input field which is currently focused on TV. The idea is to utilize mozInputMethod API.
Please refer to https://github.com/luke-chang/ajax-websocket-test For now, we have achieved that inputting arbitrary string in the client-side page and the string will show on the TV successfully. However, we have some issues need to be addressed: - once the string is sent, the software keyboard on the TV becomes ineffective until re-launch it. - even the software keyboard recovers after re-launching, we can still see some error messages in console logs every time the keyboard shows up.
(In reply to Luke Chang [:lchang] from comment #1) > - once the string is sent, the software keyboard on the TV becomes > ineffective until re-launch it. This issue has been fixed. > - even the software keyboard recovers after re-launching, we can still see > some error messages in console logs every time the keyboard shows up. I found that it's a long-standing issue which happens whenever we enable two keyboard apps so we may not need to take care of it in this bug.
feature-b2g: --- → 2.5+
Priority: -- → P2
Whiteboard: [ft:conndevices][partner-blocker]
No longer blocks: TV_RemoteControl
Blocks: 1212385
No longer blocks: TV_RemoteControl_TVSide
Comment on attachment 8673023 [details] [gaia] luke-chang:1203045_tv_remote_input_function > mozilla-b2g:master Hi Rex, Please help with this. Thanks a lot. This pull request contains two commits because it depends on Bug 1207995. You may need to review that bug first.
Attachment #8673023 - Flags: review?(rexboy)
Comment on attachment 8673023 [details] [gaia] luke-chang:1203045_tv_remote_input_function > mozilla-b2g:master Looks good to me. Thank you! There's one Gij fail but seems unrelated. And we need a rebase.
Attachment #8673023 - Flags: review?(rexboy) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [ft:conndevices][partner-blocker] → [ft:conndevices][partner-blocker][partner-cherry-pick]
Component: Gaia::TV → Gaia::TV::System
Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-pick] → [ft:conndevices][partner-blocker][partner-cherry-picked<2015/11/10>]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: