<AWT Dev> <Awt Dev> [9] Review Request for 8145784: https://bugs.openjdk.java.net/browse/JDK-8145784

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Dec 25 17:23:16 UTC 2015

On 12/25/2015 7:18 PM, Sergey Bylokhov wrote:
> Does the getRGBPixels() has the same issue? Is this bug is a 
> regression or it was there from the beginning?
No screenshots work.
I think it doesn't work since Xinerama support is added.
> On 23/12/15 17:48, Semyon Sadetsky wrote:
>> The fix was changed because it is not possible to get individual screen
>> windows under Xinerama correctly.
>> Please, review the updated solution:
>> http://cr.openjdk.java.net/~ssadetsky/8145784/webrev.01/
>> The pointer moment coordinates are changed to be relative to the origin
>> of the chosen screen.
>> --Semyon
>> On 12/23/2015 1:41 PM, Semyon Sadetsky wrote:
>>> Hello,
>>> Please review fix for JDK9:
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8145784
>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8145784/webrev.00/
>>> Robot used wrong root window for the mouse move because when the
>>> Xinerama is on JDK treats multiple screens as a single joint root
>>> window, and screen number obtained from the graphics config is always
>>> 0. So mouse could not leave the main screen using AWT robot.
>>> Solution: take the correct screen number from the device object.
>>> --Semyon

More information about the awt-dev mailing list