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 input does not work in the webGL demo #521

Open
nico-abram opened this issue Aug 4, 2023 · 1 comment
Open

IME input does not work in the webGL demo #521

nico-abram opened this issue Aug 4, 2023 · 1 comment

Comments

@nico-abram
Copy link

I noticed 2 issues trying to input japanese text in the live webgl demo linked in the readme:

  1. 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:
    imagen

  2. 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 何):
    imagen
    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.

@yglukhov
Copy link
Owner

yglukhov commented Aug 4, 2023

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.

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