JDK-8152427 : FXCanvas does not receive SWT multi-touch gesture events
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2016-03-20
  • Updated: 2018-09-06
  • Resolved: 2016-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
On some platforms, especially Mac, SWT is capable of receiving multi-touch gestures from the touchpad. The FXCanvas that embeds JavaFX in an SWT application does receive any of them.

I have implemented the gesture forwarding based on Java 8 in the Github project https://github.com/JanKoehnlein/JavaFX-SWT-Gesture-Bridge
As it uses internal Java APIs I am concerned it won't run on Java 9 anymore, that's why I ported the solution directlyto JavaFX 9. I can provide that as a patch.

JUSTIFICATION :
Multi-touch gestures are a real improvement in the usability of modern UIs.