Closed
Bug 1094559
Opened 10 years ago
Closed 10 years ago
Dynamic input definition registry in System app (Gaia part of bug 936724)
Categories
(Firefox OS Graveyard :: Gaia::System::Input Mgmt, defect)
Firefox OS Graveyard
Gaia::System::Input Mgmt
Tracking
(tracking-b2g:backlog)
RESOLVED
FIXED
tracking-b2g | backlog |
People
(Reporter: timdream, Assigned: timdream)
References
Details
(Whiteboard: [FT:System-Platform])
Attachments
(1 file)
We would need to implement a backend to that Gecko API in System app, so that registered inputs is properly kept in the mozSettings.
Currently mozApp registry is the only source of truth for KeyboardHelper to answer "what's the available/enabled input for type X". With this bug it would have to take dynamic input definitions stored in mozSettings into considerations.
There will be another script added into System along to serve as the backend.
Assignee | ||
Updated•10 years ago
|
blocking-b2g: --- → backlog
Component: DOM: Device Interfaces → Gaia::System
Product: Core → Firefox OS
Whiteboard: [FT:System-Platform]
Version: Trunk → unspecified
Assignee | ||
Updated•10 years ago
|
Component: Gaia::System → Gaia::System::Input Mgmt
Assignee | ||
Comment 1•10 years ago
|
||
https://github.com/timdream/gaia/tree/input-mgmt-dynamic
Next: unit tests.
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8524340 [details] [review]
mozilla-b2g:master PR#26218
This script is useless (and harmless) without bug 936724 in Gecko, so it's safe to land first.
Attachment #8524340 -
Flags: review?(jlu)
Comment 4•10 years ago
|
||
Comment on attachment 8524340 [details] [review]
mozilla-b2g:master PR#26218
The patch actually looks fine for me, but I'd like convert the request to f+ as the Gip tests are all failing with keyboard-related errors.
Could actually be the case that it's just the test environment being quirky -- the dynamic_input_registry_test is also failing, which frankly is pretty impossible judging from the code.
If further retriggers turn out to be green, feel free to r+ by yourself ;)
Attachment #8524340 -
Flags: review?(jlu) → feedback+
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8524340 [details] [review]
mozilla-b2g:master PR#26218
It turn out I push the change that wrapped the function in it's own closure without expose it! This is fixed.
I also made some non-trivial changes on settings handling so we could use the same lock for get and set. Please review that part.
Attachment #8524340 -
Flags: review?(jlu)
Comment 6•10 years ago
|
||
Comment on attachment 8524340 [details] [review]
mozilla-b2g:master PR#26218
Looks pretty good (Y). Nice work!
I did not look very detailedly into your Gecko patch at bug 936724 to make sure if your JS conforms to everything out there, though.
Attachment #8524340 -
Flags: review?(jlu) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•