-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
backspace fail after ime input #4908
Comments
It seems that after fcd02bd, the backspace and arrow keys no longer work in the TextEdit in native linux. I guess it thinks IME is always enabled? Even if I disable the compose key and use only the physical keys, it still doesn't work. |
Yes. I am currently preparing to commit. Do you use IME? or Will it be recognized as IME enabled even in English? |
I don't have IME, just a regular US English keyboard. I use the compose key from the Gnome desktop environment, which allows me to enter special characters, e.g., Also, when I press the compose key, it adds a · character to the string until I press the other keys, and if I click away the character just stays there. Screencast.from.2024-08-04.11-57-14.mp4 |
Yes, that special character input is considered IME. Please check if there are any problems when applying #4912. |
This does fix the problem with the backspace and the arrow keys for me, and the compose key is still working like before. |
thank you. I hope it will work well in Chinese too. |
thank you, it's fix for me too |
Fix: Changed the handling method of `Ime::Preedit(_, None)` Fix: backspace fail after ime input * Related #4358 * Related #4430 * Related #4436 * Related #4794 * Related #4896 * Closes #4908 Issues: backspace fail after ime input * #4908 (Chinese) Changed the handling method of `Ime::Preedit(_, None)`
Describe the bug
![Peek 2024-08-03 18-25](https://private-user-images.githubusercontent.com/17373509/354810459-2a5e8fc9-89fe-4b47-855c-f35a8609e989.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMxMTk0ODMsIm5iZiI6MTcyMzExOTE4MywicGF0aCI6Ii8xNzM3MzUwOS8zNTQ4MTA0NTktMmE1ZThmYzktODlmZS00YjQ3LTg1NWMtZjM1YTg2MDllOTg5LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA4VDEyMTMwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3ZWM5MDU5YzE0YjU2MWM4ZjhiZGY4NTE5YWMwZGQwNTg4ODQ4NjAxN2Q3NzYzZTNhMTUyNGFkMjYwZmYzMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-B2CHz07kUep2AFCRm-839xzaOl_QXjqXr-IX-eagxA)
To Reproduce
run master(d856f7b) egui_demo_app, use fcitx5 ime to input unicode words in text_edit, press backspace won't delete char, but typing, ime input and del key still work.
Expected behavior
backspace delete char
Desktop (please complete the following information):
Additional context
web version work
use chinese font not help
The text was updated successfully, but these errors were encountered: