<AWT Dev> [9] Review request for 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Wed Jan 29 05:43:08 PST 2014


Hi, Oleg,

The fix looks good to me as well.

Thanks,

Alexander.

On 01/29/2014 05:19 PM, Sergey Bylokhov wrote:
> Hi, Oleg.
> The fix looks good.
>
> On 29.01.2014 17:03, Oleg Pekhovskiy wrote:
>> Hi Team,
>>
>> please review the next version of fix:
>> http://cr.openjdk.java.net/~bagiras/8013116.3
>>
>> Javadoc changes were moved to a separate issue JDK-8033128.
>>
>> Thanks,
>> Oleg
>>
>>
>> On 21.01.2014 11:53, Oleg Pekhovskiy wrote:
>>> Hi Sergey,
>>>
>>> I tested on Windows, Mac OS X and Ubuntu. As a result I found
>>> calculation error in CRobot.mouseEvent native method.
>>> It was fixed.
>>> I also updated Javadoc for Robot(GraphicsDevice) constructor
>>> (CCC request will be done).
>>>
>>> Please review the next version of fix:
>>> http://cr.openjdk.java.net/~bagiras/8013116.2
>>>
>>> I built JDK8 with my fix and ran JCK runtime test suite for 3 platforms
>>> for 'api.java_applet', 'api.java_awt' and 'api.javax_swing' branches.
>>> There were no differences for Mac OS X and Windows and one test 
>>> fixed on
>>> Ubuntu
>>> (api/java_awt/Container/getMousePosition_NotHeadless).
>>>
>>> Thanks,
>>> Oleg
>>>
>>> On 01/14/2014 09:42 PM, Sergey Bylokhov wrote:
>>>> On 14.01.2014 21:14, Oleg Pekhovskiy wrote:
>>>>> Hi all,
>>>>>
>>>>> please review the fix
>>>>> http://cr.openjdk.java.net/~bagiras/8013116.1/
>>>>> for
>>>>> https://bugs.openjdk.java.net/browse/JDK-8013116
>>>>>
>>>>> java.awt.Robot.gdLoc field was removed to make Robot's point of
>>>>> origin be the same as in setters and getters from
>>>>> GraphicsDevice (GraphicsConfiguration), MouseInfo (PointerInfo) and
>>>>> Frame.
>>>>>
>>>>> This makes sense especially on Ubuntu with Xinerama extension where
>>>>> all screens have common coordinate space.
>>>> Did it work on other platfroms before the fix(windows, osx)? If 
>>>> yes, why?
>>>>>
>>>>> Two helper methods were added to
>>>>> 'test/java/awt/regtesthelpers/Util.java'.
>>>>> They were used in regression test for this fix. These methods could
>>>>> be useful for asynchronous window managers.
>>>>>
>>>>> Thanks,
>>>>> Oleg
>>>>>
>>>>
>>>>
>>>
>
>



More information about the awt-dev mailing list