-
Notifications
You must be signed in to change notification settings - Fork 76
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 input does not work in the webGL demo #521
Comments
Thanks for the report. The js mode in nimx is no longer maintained in favor of wasm. The webgl demo was compiled a long time ago when js mode was supported. Regardless of that, i unfortunately don't know how IME works, as I don't use languages requiring it. It will probably require some effort to implement on all the platforms nimx supports, and I can't do that right now. That said I will provide any help to anyone willing to implement it. |
I noticed 2 issues trying to input japanese text in the live webgl demo linked in the readme:
Normally, typing "nani" with japanese hiragana looks like this:
input n -> text= n
input a -> text=な (hiragana for na)
input n -> text=なn
input i -> text=なに (na + ni)
However, this becomes nあnい (あ=a and い=i )in the webgl demo:
The second problem is IME input not working. Normally, typing なに (hiragana, basically phonetic alphabet) brings up a list that the user can then pick from to choose a different way of writing that reading (e.g the kanji 何):
However, while on the webgl demo the IME does popup, it seems to only capture a single keypress (i.e inputting いい only shows a single い so 良い(いい)does not show up as an option in the IME list). Another problem is that pressing space or tab do not work with the IME (normally that lets you cycle and choose an option without having to use the mouse). Finally, clicking on one of the IME options with the mouse does not modify the text in the textbox at all.
Tested on firefox nightly.
The text was updated successfully, but these errors were encountered: