-
Notifications
You must be signed in to change notification settings - Fork 171
8189687: Swing: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows #564
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
Conversation
|
👋 Welcome back ktakakuri! A progress list of the required criteria for merging this PR into |
|
@ktakakuri This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
|
|
/approval request This bug is reproducible in JDK8, and backporting this patch is needed. JDK-8189687 contains two fixes to AwtComponent:.OpenCandidateWindow, one of which is backported in this pull request. The other fix is an enhancement to JEP 263 (JDK-8055212) and is not needed since JDK8 does not implement JEP 263. |
|
@ktakakuri |
|
@ktakakuri 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! |
|
This pull request is pending approval of the Fix Request. |
|
@ktakakuri 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! |
|
This pull request is pending approval of the Fix Request. |
|
(Disclaimer: I am not an official reviewer) |
|
/approve |
|
@stooke Only integrators for this repository are allowed to issue the |
|
/integrate |
|
Going to push as commit 1d2f467. |
|
@ktakakuri Pushed as commit 1d2f467. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This is a backport of JDK-8189687: Swing: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows.
JDK-8189687 contains two fixes to AwtComponent:.OpenCandidateWindow, one of which is backported in this pull request.
The other fix is an enhancement to JEP 263 (JDK-8055212) and is not needed since JDK8 does not implement JEP 263.
Fix OpenCandidateWindow to reference the proxy window that has focus when getting "HWND."
OpenJDK9 has supported HiDPI Graphics since JEP 263 (JDK-8055212). This fix is one of its enhancements: when OpenCandidateWindow opens an IME conversion candidate, it corrects the coordinates for the device.
In the attached test that reproduces the issue problem, the Panel containing the TextField is a child component, so it refers to the wrong window to get the position coordinate of the candidate window.
Therefore, the candidate window will appear in the correct position with the "1" fix.
Note that OpenJDK8 does not implement JEP 263, so the "2" fix is not included in this pull request.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/564/head:pull/564$ git checkout pull/564Update a local copy of the PR:
$ git checkout pull/564$ git pull https://git.openjdk.org/jdk8u-dev.git pull/564/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 564View PR using the GUI difftool:
$ git pr show -t 564Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/564.diff
Using Webrev
Link to Webrev Comment