<AWT Dev> Robot.mouseMove() in macOS Mojave

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Apr 4 06:54:00 UTC 2019


Hi, Kustaa.

Looks like it is related to this CR:
https://bugs.openjdk.java.net/browse/JDK-8218487

Some discussion on SO:
https://stackoverflow.com/questions/53103394/robot-mousemove-does-not-work-at-all-in-mac-os-x

On 03/04/2019 23:35, Kustaa Nyholm wrote:
> Hi,
> 
> 
> I've got an application where zooming with the scroll wheel on the mouse will also center the mouse on the screen (well window actually).
> This has worked since day one for some 15 years.
> 
> The mouse centring is implemented with Robot.mouseMove() method.
> 
> This morning I received a message from a beta tester that my latest build fails to center the cursor on macOS Mojave.
> 
> I've not investigated this further except to check that it works for me on High Sierra.
> 
> So I'm canvassing here to see if this is a known issue or information to the contrary.
> 
> The application is packaged into a macOS .app with 'jpackage' from jdk-13 and the embedded JVM/JDK/JRE is:
> 
> JVM-Version     11.0.1+13
> JVM-Vendor	Oracle Corporation
> JVM-Name	OpenJDK 64-Bit Server VM
> 
> 
> cheers Kusti
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list