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

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Wed Aug 12 14:23:37 UTC 2015


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