-
Enhancement
-
Resolution: Unresolved
-
P4
-
14, 15
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Ubuntu 20.04. Tried Java from source.
A DESCRIPTION OF THE PROBLEM :
Modern Linux applications support fine scrolling support (e.g. for touchpads or some new Logitech/Microsoft mice with precise scrollwheels). Swing apps running on the JDK currently do not take advantage of this capability, but instead scroll line by line.
This is a Linux-only issue it seems. Support for macOS (and I believe Windows) was added a while ago. This means that the JDK itself is ready, but the plumbing isn't there yet.
The necessary API is provided by XInput2. A good example on how it can be used is found here: https://github.com/pavelfatin/scrolling-with-pleasure/blob/master/linux/ScrollingLogger.c.
I looked into what's required to support this and did a quick prototype. I'd like to contribute this feature to the platform.
Please let me know if such a contribution would be accepted; if so, it would be great if I could briefly discuss the architecture with someone who knows the code.
Ubuntu 20.04. Tried Java from source.
A DESCRIPTION OF THE PROBLEM :
Modern Linux applications support fine scrolling support (e.g. for touchpads or some new Logitech/Microsoft mice with precise scrollwheels). Swing apps running on the JDK currently do not take advantage of this capability, but instead scroll line by line.
This is a Linux-only issue it seems. Support for macOS (and I believe Windows) was added a while ago. This means that the JDK itself is ready, but the plumbing isn't there yet.
The necessary API is provided by XInput2. A good example on how it can be used is found here: https://github.com/pavelfatin/scrolling-with-pleasure/blob/master/linux/ScrollingLogger.c.
I looked into what's required to support this and did a quick prototype. I'd like to contribute this feature to the platform.
Please let me know if such a contribution would be accepted; if so, it would be great if I could briefly discuss the architecture with someone who knows the code.