-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Missing documentation for manifest field input_components #250
Comments
If it helps anyone else, here are some examples of the field in use https://github.com/search?q=input_components+user%3AGoogle+user%3AGoogleChrome++filename%3Amanifest.json&type=Code&ref=advsearch&l=&l= |
@bderrly Do you have any insights from your experience on https://github.com/google/extra-keyboards-for-chrome-os ? |
The lack of documentation has been frustrating. As you pointed out, we have some working examples in that repository. The most difficult to figure out are the language and layout fields. These two have caused the most annoyance as people attempt to use layouts already available in xkeyboard-config or create a new layout based on an existing one.
As I mentioned the two most difficult to get correct are The layout is the name of one of the files in the The |
Thanks Brian! I found some relevant comments about the language and layout fields. For the language field "Both string and list of string are allowed". Whereas "CrOS IME extension manifests should therefore specify one and only one layout per input method". The most recent committer @tranbaoduy may have more insights https://source.chromium.org/chromium/chromium/src/+/e5caacef0a5d161e83f4eb98ccc5f90457ba84ec |
For completeness, I generated a manifest with all 500+ XKB layouts in one extension https://github.com/hickford/all-xkb-layouts |
Presumably, the input_components field only applies in Chrome OS and does nothing on other platforms? |
Nice! One thing that you should be aware of (and maybe document in your
repo & extension) is that the version of xkeyboard-config often lags the
public release version for quite some time. I have seen some success in
filing a bug against the input team to bump the version.
|
Consolidating under #163 |
https://developer.chrome.com/docs/extensions/mv2/manifest/ and https://developer.chrome.com/docs/extensions/mv3/manifest/ list a manifest field input_components, but it is missing any documentation.
The text was updated successfully, but these errors were encountered: