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

TreeView: consumes a MOUSE_DRAGGED event (b24)

XMLWordPrintable

      A test is attached here, it was run on the jfx2.1 b24 and showed that a MOUSE_DRAGGED event on a TreeView could be received only by an EventFilter, but not an EventHandler.

      1) run the test which adds both an EventFilter and an EventHandler to receive a DRAGGED event from a TreeView.
      2) press on an item then drag, the println will tell you that only an EventFilter receives the events.

      This makes SceneBuilder's DnD fail, a workaround is to use an EventFilter instead of EventHandler

            jgiles Jonathan Giles
            sjiang Shanliang Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: