JDK-8189687 : Swing: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-10-19
  • Updated: 2024-11-05
  • Resolved: 2018-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 Other
11 b13Fixed openjdk8u442Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
This is the Swing equivalent of JDK-8189282.

To reproduce this bug, use the Japanese IME on Windows 10 with the display set to 125% or 150% and run any Swing program that has a JTextField or JTextArea (e.g., the attached program). When you enter text using the IME popup, the popup will be positioned above and to the left of where it should be, obscuring the text field.

Comments
[jdk8u-fix-request] Approval Request from ktakakuri 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.
22-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/564 Date: 2024-08-20 11:34:03 +0000
20-08-2024

URL: http://hg.openjdk.java.net/jdk/jdk/rev/48637783b4f6 User: prr Date: 2018-05-04 17:50:02 +0000
04-05-2018

URL: http://hg.openjdk.java.net/jdk/client/rev/48637783b4f6 User: psadhukhan Date: 2018-04-25 16:25:19 +0000
25-04-2018

[~psadhukhan] this comment needs to be addressed: http://mail.openjdk.java.net/pipermail/swing-dev/2018-March/008495.html
20-04-2018

The fix is on review: http://mail.openjdk.java.net/pipermail/swing-dev/2018-March/008462.html
20-04-2018

I am not able to reproduce this issue in jdk10. The text are inputted inline on-the-spot.
14-11-2017

Did you try it on a Windows machine with a 125% or 150% scaling?
14-11-2017

As with the JavaFX bug, the IME popup obscures what is being typed making it very difficult to use.
19-10-2017