-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
basic IME supporting #1474
basic IME supporting #1474
Conversation
I don't have apple devices please test someone . |
we should move IME window to correct position to provide native look and feel |
Tested and does not work correctly on m1 macOS 13.0 Beta. |
if alacritty works well this should work as well. |
Move IME candidate window . sorry for big change
now candidate window placed near TextInput . |
@Cupnfish @someoneinjd please test candidate window position is correct. |
Maybe we need to notify IMEEnabled Event from IME to TextInput . |
move cursor before IMEPreedit
@Cupnfish @someoneinjd please test condidate window is correct position even first time. |
if we set IME position when we receive click event maybe we can achieve correct positioning. |
2022-12-25.14.59.41.movworks fine! |
thanks for testing |
group overlay and new features are necessary
due to very large change made in advanced text so I rebased . |
General
This PR fix #979,#1544.
iced ime support was broken due to winit 0.27 update .
This PR add event to fit new winit IME event model and introduce new event support for text_input.
how to test
download app from my repo https://github.com/t18b219k/iced_text_input_sample/
Phase 1 : Can we input CJK characters?
tested on
Phase 2 : Candidate position is near the TextInput?
You maybe failed to reproduce due to IME version.
candidate positon on X11 require LibX11 1.8.2 or above.
Wayland requirement.
tested on
Phase 3 draw underline and cursor
behavior
2022-12-05.23-27-59.mp4
test
not required.
We render underline and cursor correctly if winit correctly report it.
tasks