developers

    Forum Stats

  • 3,873,884 Users
  • 2,266,627 Discussions
  • 7,911,651 Comments

Discussions

Drag and Drop of TableRow on Linux

AndreaVacondio
AndreaVacondio Member Posts: 6
edited May 11, 2016 7:45AM in JavaFX 2.0 and Later

Hi,

I'm having an issue with Drag and Drop of table rows. I implemented it more or less like suggested in the answer here http://stackoverflow.com/questions/28603224/sort-tableview-with-drag-and-drop-rows with the difference I have multiple lines selection. After spending a whole day trying to figure why it wasn't working for me, I realized everything WAS working fine on Windows but wasn't on my Ubuntu. The strange thing is that the proposed implementation in the StackOverflow answer does work on my Ubuntu so it must be something with my code that triggers some sort of, I guess bug.. what happens is that the setOnDragDetected is called and then nothing, none of the other DnD related methods are called. Do you have an idea or some pointer I could use to find out what's going on?

This is the implementation https://github.com/torakiki/pdfsam/commit/bfc403aa7b8626dacfe14e79451e25b9c75b0d9c

Thanks for the help

Answers

This discussion has been closed.
developers