<AWT Dev> [9] Review Request: 6778087 getLocationOnScreen() always returns (0, 0) for mouse wheel events

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Mon Aug 17 12:24:57 UTC 2015


   The fix looks good to me.

   Thanks,
   Alexandr.

On 8/17/2015 3:19 PM, Sergey Bylokhov wrote:
> Hello,
> Any volunteers to review the fix?
>
> On 12.08.15 17:23, Alexander Zvegintsev wrote:
>> Hello Sergey,
>>
>> the fix looks good to me.
>>
>> Thanks,
>>
>> Alexander.
>>
>> On 08/10/2015 03:13 PM, Sergey Bylokhov wrote:
>>> Hello.
>>> Please review the fix for jdk9.
>>> On Windows as well as OSX we do not fill the absolute mouse location 
>>> in case of wheel events, even if we have it on the native level. 
>>> This was fixed.
>>> On Windows it is enough to change the one file only 
>>> awt_Component.cpp, because we create a wheel event in native, but on 
>>> OSX absX/Y should be carried by through lots of objects 
>>> CPlatformView->LWWindowPeer.
>>>
>>>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-6778087
>>> Webrev can be found at: 
>>> http://cr.openjdk.java.net/~serb/6778087/webrev.01
>>>
>>
>
>



More information about the awt-dev mailing list