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

IME doesn't send composition events to browsers on Windows #14

Open
petrsimon opened this issue Mar 24, 2022 · 2 comments
Open

IME doesn't send composition events to browsers on Windows #14

petrsimon opened this issue Mar 24, 2022 · 2 comments

Comments

@petrsimon
Copy link

Hi,
I was testing Avro IME both on Windows and Linux and on Windows the IME doesn't send any composition events, while ibus-avro does. The missing composition events break text engines which handle input events on a lower level. I'm using the phonetic IME.
Thanks

@sarim
Copy link

sarim commented Mar 25, 2022

Yes, windows version isn't implemented as an IME. Can you be more specific what real world problem you are facing because of that?

@petrsimon
Copy link
Author

Thanks Sarim, that explains it then.

The issue seems to be caused by the fact that Avro is somehow trying to replace the characters is has already sent to the platform during it's internal composition phase. But the text engine I'm working on, is receiving input in a hidden <input> element, removes what's been inserted and moves it to another element which serves as a rich text display.

I can handle regular IME for CJK languages quite well and obviously non-standard inputs like Avro don't work. I hope that explains a bit the issue I'm facing.

I've received complains from Bangla users that e.g. typing sthi produces স্তথি instead of স্থি.

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