-
Notifications
You must be signed in to change notification settings - Fork 903
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
IME on Windows does not work with multi-threading #3123
Comments
I guess the simplest implementation would be to use a single IME context, the default, and run all the |
Doing main-thread roundtrips sounds good enough. Windows backend already has a main thread running so should ok to add? |
Yes, at least in our case that should be enough. |
Execute the calls to the IME from the main thread. Fixes rust-windowing#3123.
Execute the calls to the IME from the main thread. Fixes #3123.
Execute the calls to the IME from the main thread. Fixes rust-windowing#3123.
Execute the calls to the IME from the main thread. Fixes #3123.
Sorry for the vague bug report.
We have trouble with the IME system on Windows where we use a separate render thread, for example the positions are not updating. I have not looked further into it, but it appears like it's not safe to use in a multi-threaded manner by default.
https://learn.microsoft.com/en-us/windows/win32/intl/developing-ime-aware-multiple-thread-applications.
So that seems like the most likely reason. I think we can work around this on the Neovide side, but it would be nice if the user did not have to care.
The text was updated successfully, but these errors were encountered: