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

Touch events is not dispatched after upgrade to JAVAFX17+

XMLWordPrintable

    • b25
    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      Hello, Currently our team is developing an touch screen software based in javafx platform for windows.
      We are using by now ThinkPad x1 Fold and Lenovo Yogaboox as target device.
      Using JavaFx16 version application works very well in both touch devices and receive correct touch events from listeners.
      After upgrade to 17+ touch events is not dispatched anymore.

      This bug was related on this thread https://stackoverflow.com/questions/69203599/javafx-no-touchevents as ref

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      target device with touch support like lenovo yogabook on thinkpad x1 folder
      using javafx16 add event setOnTouchPressed trigger events in any component
      upgrade to javafx17 setOnTouchPressed stop trigger events

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      after upgrade javafx17 setOnTouchPressed keeps triggers touch events properly
      ACTUAL -
      upgrade to javafx17 setOnTouchPressed stops triggering touch events properly

      CUSTOMER SUBMITTED WORKAROUND :
      downgrade javafx to version 16.

      FREQUENCY : always


        1. Capture.pptx
          8.23 MB
          Praveen Narayanaswamy
        2. Test.java
          2 kB
          Praveen Narayanaswamy

            mstrauss Michael Strauß
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: