Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8152427

FXCanvas does not receive SWT multi-touch gesture events

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 9
    • javafx
    • x86
    • os_x

      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.


            vadim Vadim Pakhnushev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: