From: Joe E. <jo...@em...> - 2006-02-18 09:33:09
|
I noticed that drag-n-drop is enabled for the JTables in AbstractLibraryFrame. However, it seems to be fairly broken. Specifically: 1 - I wasn't able to drag from one library to another 2 - If I start to drag a patch and then place it back where I picked it up from.... and *then* double-click anywhere in the table, the patch that I had started to drag is pasted to the end of the library. 3 - Dragging a patch from one row in a library to another row fails to overwrite the target row... *and* a double-click in the table pastes a copy to the end of the table (like in item 2). These all seem like broken behaviors to me. The correct behaviors, in my opinion, would be: 2 - Draggin a patch and then placing it back where it came from should remove the patch from the clipboard entirely. Also, double-clicking a patch should never cause a paste. 3 - Dragging from one row to another should overwrite the target row. Additionally, dragging from one row to a place off the end of the table should create a new table entry with a copy. 1 - Dragging from one library/scene into another library/scene should work, and the behaviors (in regards to replacement or appending of patches) should be the same as the behavior mentioned for item 3. Can anyone: 1 - Confirm that I'm fairly correct in assessing the *current* behavior of drag-n-drop in JSL, and 2 - Offer their opinion on the bahvior changes I've proposed? - Joe |