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

i can't input chinese words into singleline properly #4354

Closed
799189288 opened this issue Apr 13, 2024 · 9 comments · Fixed by #4358
Closed

i can't input chinese words into singleline properly #4354

799189288 opened this issue Apr 13, 2024 · 9 comments · Fixed by #4358
Labels
bug Something is broken

Comments

@799189288
Copy link

799189288 commented Apr 13, 2024

[patch.crates-io]
eframe = { features = [ "default", "__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO ] }
Describe the bug

When using the chinese input method, you can only successfully input once until the single line content is cleared.

To Reproduce

  1. use chinese input method editor.
  2. type some chinese words in the textEdit singleline
  3. repeat step 2

Screenshots

2024413-152439.mp4

Desktop (please complete the following information):

  • OS: windows 11
@799189288 799189288 added the bug Something is broken label Apr 13, 2024
@rustbasic
Copy link
Contributor

rustbasic commented Apr 13, 2024

@799189288

Could you try Pull Request #4358, and let me know the results?

@799189288
Copy link
Author

@rustbasic
i have pulled your patch41 branch and try singleline and multiline, there is no change the problem still exist

2024414-15216.mp4

@rustbasic
Copy link
Contributor

@799189288

Again, could you please try Pull Request #4358 and let me know the results?

@799189288
Copy link
Author

799189288 commented Apr 14, 2024

@rustbasic
winit::event::Ime::Preedit(text, some()) this arm seems like unreachable, when i press the spacebar ,type into singline. there are some infomations:
1.Ime Enabled
2. winit::event::Ime::Preedit(
, None)
3.Ime Commit
4.Ime Disabled

@rustbasic
Copy link
Contributor

@799189288

Again, could you please try Pull Request #4358 and let me know the results?

@799189288
Copy link
Author

@rustbasic great! it works now.

2024414-1362.mp4

emilk added a commit that referenced this issue Apr 22, 2024
* Closes #4354 

Fix: can't repeat input chinese words

AND

For Windows :
ImeEnable
ImeDisable

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
@xuerenlin
Copy link

@799189288 你好,看作者意思已经合入了master分支,我pull了master分支,测试其中examples中的hello_world,问题还是存在。你那边下载master分支也一起测试看看?

@rustbasic great! it works now.

2024414-1362.mp4

@799189288
Copy link
Author

@xuerenlin 我试了试 patch41 分支还是好的, master 我拉下来 报错
2024-04-29T15:58:44.806058Z ERROR rust_analyzer::main_loop: FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to load the project at C:\Users\79918\Desktop\myproject\egui-master\egui\Cargo.toml: Failed to query rust toolchain version at C:\Users\79918\Desktop\myproject\egui-master\egui, is your toolchain setup correctly?: "C:\Users\79918\.cargo\bin\cargo.exe" "--version" failed, exit code: 1
stderr:
error: 'cargo.exe' is not installed for the toolchain '1.76.0-x86_64-pc-windows-msvc'.
To install, run rustup component add --toolchain {toolchain}cargo

@xuerenlin
Copy link

@799189288
我继续测试了下,在windows下是好的,在ubuntu下有问题,具体情况如下:
#4430

hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
* Closes emilk#4354 

Fix: can't repeat input chinese words

AND

For Windows :
ImeEnable
ImeDisable

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants