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

Eventually input using IME doesn't work well in mozc / Arch Linux / Cinnamon #42

Closed
ngr-t opened this issue Aug 8, 2017 · 4 comments
Closed

Comments

@ngr-t
Copy link

ngr-t commented Aug 8, 2017

At first, thank you for making this fix. Basically it works well.
However, sometimes (several ten minutes after I start the editor) input from IME stops working like this (I hit Enter key to confirm the input at the last in this movie):
peek 2017-08-08 12-25
When I restart ST3, it works well again, like:
peek 2017-08-08 12-32

So sorry but I've not yet grasped how this fix works, therefore I wonder how can I fix this.

My environment is:

This has not yet been happened on any other application.
I know the information I provide is very poor to speculate the cause, but I would be very grateful if I can get any clue to solve this.
I'd appreciate your help.

@lyfeyaj
Copy link
Owner

lyfeyaj commented Aug 8, 2017

I update this repo with some bug fix. Try to re-run the script ./sublime-imfix to see whether your problem can be fixed.

@ngr-t
Copy link
Author

ngr-t commented Aug 8, 2017

Thank you for rapid response!
I updated to the latest commit, but unfortunately the problem still looks to remain. I will try to make the condition to reproduce it clear.

@lyfeyaj
Copy link
Owner

lyfeyaj commented Aug 8, 2017

It seems that the bug you encountered was an old bug that couldn't be fixed by now(to my knowledge). It is caused by those patching methods injected into sublime text via LD_PRELOAD environment variable.

Try to reproduce the problem with the following steps:

  1. Open one sublime text editor, then activate input method and try to input some CJK words;
  2. While keeping the first editor open, now start another sublime text editor and repeat the 1st step;
  3. Now switch back to the first editor, and you may find that the IME stop working on that editor, but you still can input CJK words into the second editor.

If you can reproduce your problem by those steps. Then it is exactly the bug I described above.
The only way(as far as I know) to prevent that is trying not to open two sublime text editors at the same time.

Any further information, please let me know.

@ngr-t
Copy link
Author

ngr-t commented Aug 9, 2017

I could reproduce the bug by the steps above. Also thank you for the workaround.
I will keep the number of window just one when I use IME. I will let you know if I find other workarounds or some further information.

@ngr-t ngr-t closed this as completed Dec 8, 2020
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