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

Bug in dependency xkbswitch — Fix or find alternative? #1

Open
rlue opened this issue Nov 15, 2017 · 2 comments
Open

Bug in dependency xkbswitch — Fix or find alternative? #1

rlue opened this issue Nov 15, 2017 · 2 comments

Comments

@rlue
Copy link
Owner

rlue commented Nov 15, 2017

There is an issue present in both xkbswitch and its nearest alternative, issw, which leads to buggy IM states for certain languages (notably Chinese and Korean).

Bug Description

This issue arises when a user:

  1. enters Insert mode, switches input methods, and returns to normal mode; then
  2. switches windows away from vim (e.g., via <Alt-Tab>); then
  3. switches back to vim and enters Insert mode again.

At this point, the system input method will automatically switch back to the target non-Latin IM (Chinese or Korean), but keystrokes produce Latin characters (sometimes ASCII, sometimes double-width).

Workaround

  • switch IMs back and forth (e.g., by hitting <Ctrl-Space> twice), or
  • switch windows back and forth (e.g., by hitting <Alt-Tab> twice).

Both must be performed in Insert mode.

Pending Action

Support @myshov and @vovkasm in resolving the bug in their respective programs.

@laishulu
Copy link

@laishulu
Copy link

kawa has a workaround

https://github.com/utatti/kawa/blob/master/kawa/TISInputSourceExtension.swift

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