Drag and Drop
This page discusses items for Ticket 1446 which handles improving support for Drag and Drop both inside Jajuk and also between external applications and Jajuk.
Contents |
Current state
Drag and drop only works partially in some areas, but not consistently across views. See also the comments on the Give Feedback page.
Missing items
- Queue
- Dragging to the play queue always adds at the end, not at the position where you drop
- Dragging inside the queue does some strange things, it seems to add the title to the end instead of re-arranging track order
- See also Ticket 391: allow row-selected drag and drop from table/tree views to specific position in playing queue. Currently it always drops at the end of the queue...
- Fix drag out of play queue to playlist, allow to reorder by drag and drop
- Table-View
- Dragging in the file table is strange, if you try to drag one item you often start selecting multiple lines inadvertently
- When selecting multiple items and trying to drag them, often only one item is dragged
- Tree-Views
- Dragging inside file tree should allow to move files/directories around
- Ask user for confirmation!
- Drag and Drop inside Title Tree could change the "Style" that is set for the track
- Playlist-View
- See also Ticket 315: Internal drag and drop issue in playlist editor
- Drag and Drop into Playlist also adds at the end instead of the correct position
- General DnD in/out of Jajuk
- Dragging any item out of Jajuk into a native application should do something useful, i.e. into Explorer it should copy the tracks to that position
- Needs to be defined: What should happen if a track is dragged into Jajuk? It currently has no concept of playing any track outside the collection...
- [BF] : jajuk cannot handle files outside the collection by design (see also Ticket 1438)
- ...
[BF] : I agree most of this (except last point).
[FS] : The thing I miss most, is the last point. :) I want to drag music from everyplace of my filesystem to Jajuk and Jajuk should play it/put it to the queue. But as Trant wrote, this needs more redesign.
Resources/Documentation
- http://java.sun.com/docs/books/tutorial/uiswing/dnd/index.html
- http://weblogs.java.net/blog/shan_man/archive/2006/01/first_class_dra.html
- http://forums.sun.com/thread.jspa?forumID=57&messageID=1964088&threadID=376761
- http://www.java2s.com/Code/Java/Swing-JFC/Drag-Drop.htm
- http://www.straub.as/java/clip-dnd/dnd.html

