Windows shouldn't allow IME events when not editing text (On Desktop) #2614
Labels
accessibility
More accessible to e.g. the visually impaired
bug
Something is broken
text
Problems related to text
Describe the bug
We can always enable or disable IME because IME is always allowed. In a typical application, this attribute should be determined by whether a text is being edited.
egui/crates/eframe/src/native/run.rs
Lines 563 to 572 in 0eabd89
egui/crates/eframe/src/native/run.rs
Lines 1011 to 1024 in 0eabd89
To Reproduce
Steps to reproduce the behavior:
textedit
).Expected behavior
When editing, IME is allowed; Disallowed otherwise.
Screenshots
(IME is on it's initial position.)
Desktop (please complete the following information):
Additional context
There's a field
mutable_text_under_cursor
inegui::output::PlatformOutput
.currently it's used by
eframe
web, but it should also applicable toegui_winit
or other crates.The text was updated successfully, but these errors were encountered: