JDK-8142966 : Wrong cursor position in text components on HiDPI display
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-13
  • Updated: 2021-06-16
  • Resolved: 2016-07-05
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 9
9 b127Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
JDK 9
OS: Windows

Steps to reproduce
- Create a sample with JTextField which contains a log text
- Run the sample on HiDPI display on Windows 8 or with -Dsun.java2d.uiScale=2 option
- Set a cursor in the middle of the text 
The cursor position can be shifted from the char position
Comments
The updated version of the fix: http://cr.openjdk.java.net/~alexsch/8142966/webrev.02
06-05-2016

Proposed fix: http://cr.openjdk.java.net/~alexsch/8142966/webev.00
27-01-2016