<AWT Dev> [9] Review request for 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell

Oleg Pekhovskiy oleg.pekhovskiy at oracle.com
Tue Jan 14 09:14:01 PST 2014


Hi all,

please review the fix
http://cr.openjdk.java.net/~bagiras/8013116.1/
for
https://bugs.openjdk.java.net/browse/JDK-8013116

java.awt.Robot.gdLoc field was removed to make Robot's point of origin 
be the same as in setters and getters from
GraphicsDevice (GraphicsConfiguration), MouseInfo (PointerInfo) and Frame.

This makes sense especially on Ubuntu with Xinerama extension where all 
screens have common coordinate space.

Two helper methods were added to 'test/java/awt/regtesthelpers/Util.java'.
They were used in regression test for this fix. These methods could be 
useful for asynchronous window managers.

Thanks,
Oleg



More information about the awt-dev mailing list