<AWT Dev> Who wants to fix 15 years old issue?
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Nov 11 10:34:40 UTC 2016
The approach looks fine. I think that the changes in the Toolkit should
be moved to PreProcessMouseMsg(), and the fix should not change behavior
of "Interop"(see line 1601), or probably we can do everything in the
awt_component.
On 10.11.16 17:57, Sergey Malenkov wrote:
> Hi guys,
>
> Now we have a lot of notebooks with touchpads/trackpads,
> but Java cannot scroll horizontally on such devices:
> http://bugs.openjdk.java.net/browse/JDK-4419271
>
> I want to say that MacOS on my Mac supports it,
> while Windows on the same Mac does not support.
> Our customers complains about this issue for 3 years:
> http://youtrack.jetbrains.com/issue/IDEA-115509
>
> I created a simple patch for Windows platform.
> Could you please comment attached changes?
>
> Note, that WM_MOUSEHWHEEL > WM_MOUSELAST,
> so any checks inside AWT ignores such events.
> So, I replaced WM_MOUSEHWHEEL with WM_MOUSEWHEEL + SHIFT
>
> PS. The attached patch applicable to 8u, not 9.
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list