RFR: 8345538: Robot.mouseMove doesn't clamp bounds on macOS when trying to move mouse off screen [v3]
Alexey Ivanov
aivanov at openjdk.org
Mon Jan 20 16:39:40 UTC 2025
On Sun, 19 Jan 2025 20:27:53 GMT, Jason Mehrens <duke at openjdk.org> wrote:
> > It is quite possible that we need to figure out what is going on with PointerInfo and fix something there first ..
>
> Not moving the mouse and locking the desktop can set X value larger the the display. See: https://bugs.openjdk.org/browse/JDK-6840067
This may still fail… unless we artificially “move” the mouse pointer into the virtual screen bounds… even when the OS API returns coordinates which are out of bounds.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22781#issuecomment-2602860069
More information about the client-libs-dev
mailing list