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

Touch gestures not working properly in JavaFX

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 22.04
      Java JDK 21
      JavaFX 23.0.2

      Devices: Touch-enabled laptops, tablets, touchscreen monitors, Touch pads

      A DESCRIPTION OF THE PROBLEM :
      Hi,
      My company bought touch enabled monitors for a newly developed JavaFX based application, however none of the touch gestures are working in the application.
      The affected gestures include:
      Pinch-to-Zoom, Swipe Gestures, Touch Press and etc are not detected.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a JavaFX application with setOnZoom, setOnSwipe, and setOnTouchPressed handlers.
      Run the application on a touch-enabled device.
      Attempt to perform pinch-to-zoom, swipe, or tap gestures.
      Observe that gestures do not trigger reliably or fail entirely.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      All touch gestures should be recognized and processed correctly according to event handlers.
      ACTUAL -
      Gestures are either not detected, inconsistently triggered, or behave unexpectedly.

            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: