JDK-8166382 : [hidpi] Ubuntu 16.04: invalid coordinates when using glass robot
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu
  • Submitted: 2016-09-20
  • Updated: 2016-10-20
  • Resolved: 2016-10-20
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
9Fixed
Related Reports
Relates :  
Description
Please run the attached test code and click the button. The robot will click again in some incorrect place (must click the same button again).

JDK9 b135, Ubuntu 16.04 Linux + HiDPI

Please use the following flag to compile/run:
--add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED

(the sample was taken from here:
https://github.com/crispab/crisp-code-examples/blob/master/javafx/usingRobot/src/main/java/se/crisp/example/javafx/robot/RobotTesting.java )
Comments
http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/911b9447f129
20-10-2016

+1
20-10-2016

http://cr.openjdk.java.net/~flar/JDK-8166382/webrev.00/
19-10-2016

Assign to Jim to investigate. If this turns out to be a glass bug, then it can be reassigned to Dave.
21-09-2016

not reproducible on Windows 10 + HiDPI and OS X with Retina
21-09-2016

not reproducible on a non-HiDPI machine with the same OS as well
20-09-2016

the issue isn't reproducible with JDK8 on the same HiDPI machine
20-09-2016