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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Aug 10 12:13:53 UTC 2015

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 
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

Best regards, Sergey.

More information about the awt-dev mailing list