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

JFX DnD visual item drag feedback

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • javafx
    • None

      On Mac OS X the way drag and drop works natively is that the cursor itself changes and there is an image underneath the cursor that represents the dragged item.

      JFX probably needs to define this as part of the client public API.

      The questions here for JFX are then:

      #1 Should the icon change to show dragging taking place ? Glass allows the client to set different icon shape, so this can be done as part of DnD API or preferably keep it as Cursor only API as it currently is.

      #2 Should there be an image representing the dragged item? And if client does not want to provide such representation - should there be a default image? And if so what should be the default image representation?

      Currently, the way drag and drop works, it seems to lack polish and feels half-baked and confusing.

      If #2 is to be implemented, then either Glass will need change its APIs to accept such image, or JFX as Glass client can implement this on its own using existing Glass APIs. For example the visual item representation can be implemented as standalone (transparent) window that tracks the cursor position.

            psafrata Pavel Ĺ afrata
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: