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
8264728: When use chinese IME, the candidate box isn't moved with caret of JTextArea #13055
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back quantum6! A progress list of the required criteria for merging this PR into |
Webrevs
|
@quantum6 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
I am sorry for rebase. Shall I close the PR and create a new one? |
Provide a complete description and explanation of what you are doing, and why it is is the correct solution and |
Thanks, I have add a description. In fact it isn't a complex problem, the key problem is how to initinate. If have any problem, please notify me., |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
There are several bugs same to this. I hope this code can be integrated ASAP. |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Is there anyone to check this? |
This issue also affects JetBrains IDE and many other Java GUI apps on Linux, so I hope you can merge it ASAP. |
Thanks. I also hope so! |
Hello! Is there someone review this? |
Who can review this? Or can I ask someone to review? |
@prrace Is there anyone we can ask for help? |
@prrace This bug exists in all jdk version, like jdk8,jdk11,jdk17. I hope the codes can be integrated ASAP, then I will create PR for jdk8/jdk11/jdk17. So can you ask someone to review and integrate this PR? |
Hi, guys! I want to notice that JetBrains is working on the issue too and we're going to propose our own fix. |
@NikitkoCent It's a good news. If you find any problem, you can try this example: |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Hello! |
Any updates? |
Waiting for anyone to integrate... |
This problem has existed for more than ten years, do you guys have time to plan |
@prrace, hello! About the plans: I'm going to release a preview build of our JVM (JBR) with the patch solving this problem in a few weeks, polish it according to the feedback and then propose the patch to OpenJDK. |
Hello! Can anyone review the code? Thanks. |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Hello! Is there anyone to review thic ? |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
hello |
Please read the comments further up, @NikitkoCent wants to propose an alternative fix. |
@quantum6 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@quantum6 This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
I am back now. Who can check and merge this code? |
Hi @SeaCodeBase, thanks for making a comment in an OpenJDK project! All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please Use "Add GitHub user SeaCodeBase" for the summary. If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.
Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use. |
@SeaCodeBase Only the pull request author can set the pull request state to "open" |
❗ This change is not yet ready to be integrated. |
@quantum6 - See all the messages in the log above. But whatever happened to @NikitkoCent ? He said he had an alternative. |
/open |
@quantum6 This pull request is now open |
Candidat box can moving with caret on windows version. Someone must wrote codes for linux(ubuntu), but it doesn't work, so he didn't commit the codes. Why it doesn't work, is the key problem.
1, I wrote a example for linux:
https://github.com/quantum6/X11InputMethod
I tried all parameters to test and as my research:
If you use XIMPreeditCallbacks to initiate, the box can't be moved with caret.
If you use XIMPreeditNothing, it works.
All examples use XIMPreeditCallbacks to initiate input method and candidate box can't moving. So I understand why he didn't commit the codes.
2, I traced the route of transfering caret coordites on windows version, then add codes for linux.
3, Taishan Office(like Microsoft Office Word) is running on jdk, we tested for a long time, it works OK.
4, I am not sure for AIX( no environment).
JDK-8264728 : When use chinese IME, the candidate box isn't moved with caret of JTextArea
Type: Bug
Component: client-libs
Sub-Component: java.awt:i18n
Affected Version: 8,9,15,16
Priority: P3
Status: Open
Resolution: Unresolved
OS: linux
CPU: x86_64
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13055/head:pull/13055
$ git checkout pull/13055
Update a local copy of the PR:
$ git checkout pull/13055
$ git pull https://git.openjdk.org/jdk.git pull/13055/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13055
View PR using the GUI difftool:
$ git pr show -t 13055
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13055.diff
Webrev
Link to Webrev Comment