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

FXCanvas does not receive SWT multi-touch gesture events

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      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.


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: