>From the video, it looks like the items being dragged obscure where you're trying to drop them. I haven't tried it in practice, but it doesn't seem optimal from a usability standpoint. Still, nice work.
Cheers, Josh On 1 April 2010 20:55, Albert Santoni <[email protected]> wrote: > Hi guys, > > I've spent the last two evenings hacking away at improving > drag-and-drop in the new library. I fought long battles with > drag-and-drop in the old library code and I was hoping to be able to > reuse some of that code, but I had to devise some slightly different > algorithms to deal with a different set of constraints we have due to > Qt's handling of SQL. (As soon as a result set changes, all of your > QModelIndexes become invalid, and so your view resets causing your > selection to be lost. Since playlists are constructed out of JOINing a > few tables, any time a playlist is changed in any way, the result set > has to be SELECTed again. C'est la vie.) > > Anyways, some of the things I've achieved are: > - correct, consistent reordering of multiple selections in playlists > - reordering of non-contiguous selections of tracks > - persistent scrollbar positions across changes to playlists > - external drag-and-drop of multiple items into arbitrary positions of > playlists (selects those newly added items too) > > All of these things are quietly non-existent in 1.8.0 beta1. It'll be > our secret. :) > > If you want a glimpse of what playlists behave like now, I've recorded > a video showing this stuff off: > http://dl.dropbox.com/u/215333/mixxx_1.8.0_dnd_demo.ogg (1.9 MB Ogg Theora) > > In the next day or so, I'll write up a decent changelog for this, > commit it to features_sqlite, then I think we're ready to merge that > branch. After that, I'll resume work on the SoundSource plugins branch > so we can get Beta 2 out the door. > > Thanks, > Albert > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Mixxx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
