On 28.11.16 18:01, Sergey Malenkov wrote:
The fix looks good, but we realized that the direction is not always changed.
For example, Windows from VirtualBox on Mac.

Does it mean that it works differently than in the native apps? That can be a virtualbox issue:
https://forums.virtualbox.org/viewtopic.php?f=6&t=29957&start=15


-    jint scrollLines = 3;
+    jint toScroll = 3;

-    UINT platformLines;
+    UINT platformUnits;

Also I prefer to use similar names for this variables as before.
For example, scrollUnits instead of toScroll

ok, I'll change.




On Thu, Nov 24, 2016 at 4:32 PM, Alexandr Scherbatiy
<alexandr.scherba...@oracle.com> wrote:

The fix looks good to me.

Thanks,
Alexandr.


On 11/23/2016 5:20 PM, Sergey Bylokhov wrote:

Hello.

Please review the fix for jdk9.

Support of WM_MOUSEHWHEEL for Swing was added (AWT components were not
touched), which mostly the code symmetric to the WM_MOUSEWHEEL, except that
I changed the direction to align it in Swing and OS. It seems that this
functionality does not work on linux as well, at least I was not able to
enable it. Will file a separate bug for jdk on linux.

Bug: https://bugs.openjdk.java.net/browse/JDK-4419271
Webrev can be found at: http://cr.openjdk.java.net/~serb/4419271/webrev.02







--
Best regards, Sergey.

Reply via email to