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

FXCanvas does not forward horizontal mouse scroll events to the embedded scene

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u92, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Subcomponent:
    • CPU:
      x86
    • OS:
      other

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      Horizontal mouse wheel events that are not synthesized from pan events (i.e. events of type SWT.MouseHorizontalWheel) are not forwarded to the embedded scene by FXCanvas, while vertical mouse wheel events are. Similar to touch events (see JDK-8143596), these events are thus not received by the JavaFX scene.

      The FXCanvasEx implementation provided by the Eclipse GEF project (or more precisely the gesture converter used by it internally: http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.fx.swt/src/org/eclipse/gef4/fx/swt/gestures/SWT2FXEventConverter.java) compensates this. However, the fix relies on internal API of JavaFX and will no longer work under the restrictions of Jigsaw.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      1. JDK-8161282_15_08_16.patch
        19 kB
        Kevin Rushforth
      2. JDK-8161282_16_08_16.patch
        18 kB
        Kevin Rushforth

        Issue Links

          Activity

          webbuggrp Webbug Group created issue -
          aroy Abhijit Roy made changes -
          Field Original Value New Value
          Labels webbug dcsroy webbug
          aroy Abhijit Roy made changes -
          Labels dcsroy webbug dcsroy reproducer-yes webbug
          aroy Abhijit Roy made changes -
          Labels dcsroy reproducer-yes webbug dcsroy webbug
          aroy Abhijit Roy made changes -
          Project Java Incidents [ 10301 ] JDK [ 10100 ]
          Key JI-9040978 JDK-8161282
          Workflow JBS Incident Workflow [ 4901831 ] JBS Workflow [ 4901831 ]
          Component/s javafx [ 11900 ]
          Component/s javafx [ 11901 ]
          Affects Version/s 8u92 [ 18505 ]
          Affects Version/s 8u92 [ 18546 ]
          aroy Abhijit Roy made changes -
          Subcomponent other [ 1402 ] other [ 1385 ]
          aroy Abhijit Roy made changes -
          Link This issue duplicates JDK-8143596 [ JDK-8143596 ]
          aroy Abhijit Roy made changes -
          Status New [ 10000 ] Closed [ 6 ]
          Assignee Abhijit Roy [ aroy ]
          Resolution Duplicate [ 3 ]
          kcr Kevin Rushforth made changes -
          Summary FXCanvas does not forward horizontal mouse scroll events to the embedded scene. FXCanvas does not forward horizontal mouse scroll events to the embedded scene
          kcr Kevin Rushforth made changes -
          Resolution Duplicate [ 3 ]
          Status Closed [ 6 ] Open [ 1 ]
          Affects Version/s 9 [ 14949 ]
          Fix Version/s tbd_major [ 11972 ]
          Assignee Abhijit Roy [ aroy ]
          kcr Kevin Rushforth made changes -
          Link This issue relates to JDK-8143596 [ JDK-8143596 ]
          kcr Kevin Rushforth made changes -
          Link This issue duplicates JDK-8143596 [ JDK-8143596 ]
          kcr Kevin Rushforth made changes -
          Labels dcsroy webbug dcsroy nicetohave webbug
          kcr Kevin Rushforth made changes -
          Assignee Kevin Rushforth [ kcr ]
          kcr Kevin Rushforth made changes -
          Attachment JDK-8161282_15_08_16.patch [ 62321 ]
          kcr Kevin Rushforth made changes -
          Fix Version/s 9 [ 14949 ]
          Fix Version/s tbd_major [ 11972 ]
          kcr Kevin Rushforth made changes -
          Assignee Kevin Rushforth [ kcr ] Alexander Zvegintsev [ azvegint ]
          kcr Kevin Rushforth made changes -
          Attachment JDK-8161282_16_08_16.patch [ 62420 ]
          kcr Kevin Rushforth made changes -
          Priority P4 [ 4 ] P3 [ 3 ]
          azvegint Alexander Zvegintsev made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          anyssen Alexander Nyssen made changes -
          Link This issue duplicates JDK-8088262 [ JDK-8088262 ]

            People

            • Assignee:
              azvegint Alexander Zvegintsev
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: