Hi guys,

Over the last week, I've been hacking away at reimplementing
drag-and-drop support in the library. This was one of the features that
got removed temporarily when the library was rewritten last summer, but
we never got around to putting it back in. It's bugged me for a while
and I've heard similar complaints from many users.

Because the lack of drag-and-drop in the track table would have been a
regression from 1.5.2 if 1.6.0 were released this way, I've treated this
as a bug ( https://bugs.launchpad.net/mixxx/1.6/+bug/230898 ), which is
my justification for working on it. (I've previously said that I'm
trying to focus on fixing release-critical bugs.)

Anyways, r2069 contains the following improvements:

1) Drag-and-drop to playlists, the play queue, and the library from
outside of Mixxx.
   - This inserts the dropped track into the spot where you're hovering
your mouse.
   - You can also drag-and-drop multiple tracks at a time from outside
Mixxx.

2) Track reordering, ie. dragging and dropping a track within a playlist
will move it properly.
   - This also works with multiple selections (shift- and
ctrl-clicking).

3) Removing tracks now works properly when there's a search string
entered in the search box.

4) TrackPlaylist has been restructured so that it subclasses QList
rather than act as a class adapter for it. This reduces the amount of
code in TrackPlaylist.

5) Duplicate songs can now exist in a playlist. (There was a qDebug
FIXME about this, and TrackPlaylist needed to be fixed first. Long
story.)

Known issues:
- If you do some aggressive track reordering with multiple tracks
selected, the selection might highlight a confusing bunch of tracks. I
don't think this is a bug - the selection model is just deselecting some
tracks because of the shift-click.

Since we're gearing up for the 1.6.0 final, I've done a ton of testing
on these changes. I've tried to cover every exceptional case and tried
to hammer the new drag-and-drop stuff as much as I can. This code needs
to be rock solid, so I'd appreciate any testing that people can give
this. Please let me know if you find any bugs!

Thanks,
Albert


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to