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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Dec 25 16:18:40 UTC 2015


Does the getRGBPixels() has the same issue? Is this bug is a regression 
or it was there from the beginning?

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
>


-- 
Best regards, Sergey.


More information about the awt-dev mailing list