mvlabat / bevy_egui

This crate provides an Egui integration for the Bevy game engine. 🇺🇦 Please support the Ukrainian army: https://savelife.in.ua/en/
MIT License
858 stars 239 forks source link

IMEs not working #145

Open liquidhelium opened 1 year ago

liquidhelium commented 1 year ago

I tried the demo and found I can't input non-Latin characters since the IME just won't show up.
In egui native & web demos, IME works fine.
platform: Windows, Edge browser (chromium)

doup commented 1 year ago

149 doesn't fix this. But, I think after 0.10 is released this weekend it'll be possible to fix it with: https://github.com/bevyengine/bevy/pull/7325 (see text_input example in bevy/main).

bevy_egui or the user will need to set:

window.ime_enabled = true;
window.ime_position = ...;

It probably makes sense to do this in bevy_egui so that ime_position is set to the active input field.

yangzhixiao commented 5 months ago

Very concerned about this issue.