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

Gtk: Drag 'n Drop in JavaFX 2.2 behaves differently depending on the platform. (Windows/Linux)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u21
    • javafx
    • GNU/Linux Trisquel 32-bit
      Java SE 7u21
      Netbeans 7.3

      Seems to work on Windows 7/8 with Java SE 7u21.

      Hi,

      I've found one problem in JavaFX 2.2 with the drag 'n drop. It seems to behave differently depending on which platform you are using. If I for example have implemented a DnD functionality for a ListView, where you can drag one item in the list to re-order it, in Windows this seems to be working fine. But when I try the application in GNU/Linux it seems to be removing the selected (and dragged) item when I hover over some other item in the list.

      There is an example on the web that I've tried that have this behaviour, for me at least:

      http://blog.ngopal.com.np/2012/05/06/javafx-drag-and-drop-cell-in-listview/
      Source code:
      http://blog.ngopal.com.np/2012/07/16/source-code-draggable-listcell-as-friends-list-demo/

      Maybe its just me?

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: