Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-11 Thread Phil Race
On Wed, 10 May 2023 20:41:06 GMT, Alexander Zvegintsev wrote: >> src/java.desktop/share/classes/java/awt/Robot.java line 478: >> >>> 476: * @throws SecurityException if {@code readDisplayPixels} >>> permission >>> 477: * is not granted, or user has not allowed any of his >

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Alexander Zvegintsev
On Wed, 10 May 2023 19:20:48 GMT, Phil Race wrote: >> Alexander Zvegintsev has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - rephrase wording about mouse pointer may not visually move >> - Remove mention of mouse cursor for screen captu

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Phil Race
On Wed, 10 May 2023 13:04:42 GMT, Kevin Rushforth wrote: >> Updated according to your comments. >> I still left `revokeScreenCapturePermission` here for now, so that its >> documentation can be easily compared and aligned with the other >> documentation changes. >> After finalization it will b

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Phil Race
On Wed, 10 May 2023 13:48:20 GMT, Alexander Zvegintsev wrote: >> src/java.desktop/share/classes/java/awt/Robot.java line 431: >> >>> 429: * to capture screen content, and the required permissions are not >>> granted, >>> 430: * then a {@code SecurityException} may be thrown, >>> 431:

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Phil Race
On Wed, 10 May 2023 13:56:56 GMT, Alexander Zvegintsev 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.o

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Alexander Zvegintsev
On Wed, 10 May 2023 04:40:31 GMT, Prasanta Sadhukhan wrote: >> Alexander Zvegintsev has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - rephrase wording about mouse pointer may not visually move >> - Remove mention of mouse cursor for sc

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Alexander Zvegintsev
On Wed, 10 May 2023 12:54:37 GMT, Kevin Rushforth wrote: >> Alexander Zvegintsev has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - rephrase wording about mouse pointer may not visually move >> - Remove mention of mouse cursor for screen

Re: RFR: 8307779: Relax the java.awt.Robot specification [v2]

2023-05-10 Thread Alexander Zvegintsev
> 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 ta