-
Notifications
You must be signed in to change notification settings - Fork 940
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
Improve IME event handling #1293
Comments
cc @murarth, I'm not familiar with how IME works, are you? |
I'm not at all familiar with IME, but I'll read some docs and see what I can do for this issue. |
Thanks. I updated the description to make it clear what I want to do. |
#753 has a lot of good discussion on both IME handling and the broader context of how to improve the keyboard input API. |
That issue looks like this issue as well, but haven't updated for a while. Is there any ongoing work related to that issue? |
Submitted a PR for adding new IME events for X11. Could anyone review it? |
The X11 implementation has been merged (to the I am now closing this issue. Any further discussion of this feature should take place in #1497. |
Reference: servo/servo#24724
When I tried to implement compositions event handling for the browser engine, I realized that current event interface doesn't have enough information about IME events.
To implement this, we need to know what is the current content in IME when the user edit something in IME. But seems
glutin::WindowEvent::KeyboardInput
doesn't have interface to get that information. It would be nice to send more information when IME status was updated.Currently, winit submits character information when IME edit completes. But to implement compositions event handling, those information should be available when updating the status as well. In addition, winit sends charcter information for each characters (e.g. if the content in IME was "あああ", it sends 3
ReceiveCharacter('あ')
event) . It would be nice to have send this information as a string.I tested this on my Linux with X11, but all other platforms might have the same issues.
The text was updated successfully, but these errors were encountered: