Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation request for “default” layout handling #2011

Open
lanoxx opened this issue May 22, 2018 · 1 comment
Open

Documentation request for “default” layout handling #2011

lanoxx opened this issue May 22, 2018 · 1 comment

Comments

@lanoxx
Copy link

lanoxx commented May 22, 2018

I would like to clarify how clients of ibus should handle the “default” layout that ibus passes for certain input sources such as sunpinyin.

Which of the following three options would correctly handle a “default” layout:

  1. Keep layout as is, for example if layout was “de”, then it will still be “de” after “sunpinyin” has been activated.
  2. Change layout to “us” as a general default.
  3. Determine the default layout for the user (e.g the layout corresponding to the native keyboard layout) and use that as default?

I am not sure if 3. is currently possible, since I think the user does not configure a default but we could use the first layout from the list of configured layouts.

@fujiwarat
Copy link
Member

It means 1. the layout is not changed. I think the layout "" would be better than "default".
Probably it's good to describe in ibus_engine_desc_new() and ibus_engine_desc_new_varargs().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants