-
Notifications
You must be signed in to change notification settings - Fork 171
8330561: [Windows][8u] IME candidate window wrong position #483
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 |
|
❗ This change is not yet ready to be integrated. |
|
The following jtreg test failed on Windows x64/x86: |
|
@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! |
|
Could someone please review this fix? |
|
Could anyone please review this fix? |
|
@phohensee |
|
@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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just reframe this change as a backport of JDK-8189687? The backport would be identical to this PR because you would naturally have to drop the JEP 263 related code.
|
OK. I created a new issue because JDK-8189687 primarily reports a problem in Hi-DPI and the fix assumes JEP263 which supports Hi-DPI. If it is better to backport ignoring JEP 263 as you said, I will create new pull request. |
|
Thanks. I think it'll be easier to get approval if the request is just a backport. |
|
Thank you. I have created a backport. #564 |
|
Thanks. I've reviewed #564. |
This fix includes a fix for JDK-8189687 in JDK9.
JDK-8189687 contains two fixes to AwtComponent:: OpenCandidateWindow
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 attatchmented test which 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
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/483/head:pull/483$ git checkout pull/483Update a local copy of the PR:
$ git checkout pull/483$ git pull https://git.openjdk.org/jdk8u-dev.git pull/483/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 483View PR using the GUI difftool:
$ git pr show -t 483Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/483.diff
Webrev
Link to Webrev Comment