<AWT Dev> [10] JDK-8190326: Robot.mouseMove uses scaling factor of main display on unscaled second display

Shashidhara Veerabhadraiah shashidhara.veerabhadraiah at oracle.com
Mon Nov 6 05:34:39 UTC 2017


Hi, Please review a fix for the below bug.

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8190326

 

Webrev: http://cr.openjdk.java.net/~sveerabhadra/8190326/webrev.00/

(Please see from line no.83-87 for awt_Robot.cpp review and ignore other lines as they are under review for another bug)

 

Summary: Robot cursor move used to apply the primary monitor's scaling factor to derive device coordinates even though there was move requested to another monitor having a different scaling factor. Now this is changed to use the logical point's monitor scaling factor to which it may be moved to.

 

Thanks and regards,

Shashi

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20171105/0b436361/attachment.html>


More information about the awt-dev mailing list