harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3286) [classlib][awt] The method Robot.mouseMove() works incorrectly on windows
Date Fri, 02 Mar 2007 11:18:51 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrey Pavlenko updated HARMONY-3286:
-------------------------------------

    Attachment: HARMONY-3286-WinRobot.patch

This issue is caused by the WinRobot.getScreenSize() method that uses the size of the virtual
screen instead of the the screen of the primary display monitor. This patch fixes the issue.
I'm not attaching a regression test because RobotTest reproduces this issue.

> [classlib][awt] The method Robot.mouseMove() works incorrectly on windows
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3286
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3286
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Andrey Pavlenko
>         Attachments: HARMONY-3286-WinRobot.patch
>
>
> The following test case reproduces the issue.
>     public void test() throws AWTException {
>         final Robot r = new Robot();
>         r.mouseMove(100, 100);
>         assertEquals(new Point(100, 100), MouseInfo.getPointerInfo()
>                 .getLocation());
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message