RFR: 8307779: Relax the java.awt.Robot specification
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed May 10 04:44:24 UTC 2023
On Thu, 4 May 2023 16:26:47 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
> We need to relax the java.awt.Robot specification according to the latest operating system trends.
> This should at least cover the case of Wayland, which has changed many familiar concepts in Linux.
>
> https://bugs.openjdk.org/browse/JDK-8280982 [Wayland] [XWayland] java.awt.Robot taking screenshots
> https://bugs.openjdk.org/browse/JDK-8280995 [XWayland] Robot.mouseMove does not visually move mouse cursor
> https://bugs.openjdk.org/browse/JDK-8280990 [XWayland] XTest emulated mouse click does not bring window to front.
> https://bugs.openjdk.org/browse/JDK-8280988 [XWayland] Click on title to request focus test failures
src/java.desktop/share/classes/java/awt/Robot.java line 457:
> 455: /**
> 456: * Creates an image containing pixels read from the screen. This image does
> 457: * not include the mouse cursor.
We have seen in macOS specifically that absence of mouse cursor is not guaranteed and screen capture can contain mouse cursor, so I guess we should remove this line since we are updating the Robot specification now..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13809#discussion_r1189351240
More information about the client-libs-dev
mailing list