Closed
Bug 1128396
Opened 9 years ago
Closed 9 years ago
Include all layouts with no dictionary or downloadable dictionary
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timdream, Assigned: timdream)
References
Details
(Whiteboard: [p=3])
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1029951 +++ Bug 1029951 will be landed disabled -- that is, by setting the preload layouts === loaded layouts, the UI will not be shown and the patch will have no effect. When we feel ready, we could enable that by doing GAIA_KEYBOARD_LAYOUTS=noPreloadDictRequired,en,pt-BR,es,de,fr,fr-CA,pl,ko,zh-Hans-Pinyin,en-Dvorak GAIA_KEYBOARD_PRELOAD_DICT_LAYOUTS=en,pt-BR,es,de,fr,fr-CA,pl,ko,zh-Hans-Pinyin,en-Dvorak To load all layouts that doesn't require a preloaded dictionary *and* preload dictionaries we have already preloaded. There are still some UIs to be patched before we could enable the feature on master. We would use dependency to track that.
Assignee | ||
Comment 1•9 years ago
|
||
Actually, |noPreloadDictRequired| does not only cover Latin-IMEngine based layouts, but all layouts w/o a dictionary or doesn't need a preloaded dictionary. Updating summary.
Summary: Enable users to download latin-imengine layouts → Include all layouts with no dictionary or downloadable dictionary
Comment 2•9 years ago
|
||
What's stopping this bug from being RESOLVED?
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → timdream
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Matěj Cepl from comment #2) > What's stopping this bug from being RESOLVED? Actually enable it in on master...? I am sorry I was busy at something else. (In reply to Tim Guan-tin Chien [:timdream] (slow response; please ni? to queue) from comment #0) > GAIA_KEYBOARD_LAYOUTS=noPreloadDictRequired,en,pt-BR,es,de,fr,fr-CA,pl,ko,zh-Hans-Pinyin,en-Dvorak > GAIA_KEYBOARD_PRELOAD_DICT_LAYOUTS=en,pt-BR,es,de,fr,fr-CA,pl,ko,zh-Hans-Pinyin,en-Dvorak This might not be the right way to re-purpose the GAIA_KEYBOARD_LAYOUTS value. If someone enables a layout in her local.mk today, she would have to change GAIA_KEYBOARD_PRELOAD_DICT_LAYOUTS too after this patch lands. I should think of some way that could carry over the meaning there.
Assignee | ||
Comment 4•9 years ago
|
||
For example, the variable is overwritten in our flame-kk builds. https://dxr.mozilla.org/mozilla-central/source/b2g/config/flame-kk/config.json#37
Assignee | ||
Comment 5•9 years ago
|
||
I've concluded we should do this instead: # This variable is for customizing the keyboard layouts in a build. # Include the ID of the layout in this variable will make both the dictionary # and the layout included in the package. GAIA_KEYBOARD_LAYOUTS?=en,pt-BR,es,de,fr,fr-CA,pl,ko,zh-Hans-Pinyin,en-Dvorak # We optionally offers downloading the dictionary from the CDN, instead of # including it in the build. # Include the ID of the layout in this variable will make it appear in the # keyboard settings page, allowing user to download the dictionary. GAIA_KEYBOARD_DOWNLOADABLE_LAYOUTS?=noPreloadDictRequired I will change the keyboard build script (and tests) to do exactly that, and enable the feature in the second commit.
Comment 6•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8601305 -
Flags: review?(rlu)
Comment 7•9 years ago
|
||
Comment on attachment 8601305 [details] [review] [gaia] timdream:keyboard-dyn-switch > mozilla-b2g:master r=me, thanks.
Attachment #8601305 -
Flags: review?(rlu) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 8•9 years ago
|
||
http://docs.taskcluster.net/tools/task-graph-inspector/#IJXpf2ZfQV6AyKqOKu4oew The pull request failed to pass integration tests. It could not be landed, please try again.
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8601305 [details] [review] [gaia] timdream:keyboard-dyn-switch > mozilla-b2g:master Please review this again. The previous patch has a side effect of shipping Emoji layout prematurely. I add a flag to exclude that.
Attachment #8601305 -
Flags: review+ → review?(rlu)
Comment 10•9 years ago
|
||
Comment on attachment 8601305 [details] [review] [gaia] timdream:keyboard-dyn-switch > mozilla-b2g:master Thanks for considering to exclude emoji layout. I think it would be better if the exclude flag could be set outside of the layout def. file, but don't have a strong opinion on that.
Attachment #8601305 -
Flags: review?(rlu) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 11•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/b9f6aa017033a4d9c71ebd09788fc127fb11945e
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•