[vlc-devel] [PATCH] QT4 playlist: even better DragNDrop policy

Jakob Leben jakob.leben at gmail.com
Sun Aug 9 22:50:52 CEST 2009


2009/8/9 Rémi Denis-Courmont <remi at remlab.net>

> Le dimanche 9 août 2009 22:58:26 Rémi Denis-Courmont, vous avez écrit :
> > Le dimanche 9 août 2009 21:38:37 Jakob Leben, vous avez écrit :
> > > Drop enabled only inside Playlist and Media player, not Podcast and
> other
> > > internet sources...
> >
> > I'm not sure I understand this. I think input item ID "space" is
> > independent from playlist item ID space; probably Pierre d'H. can confirm
> > this... Is it just that the (already old) Qt4 playmost model misnames
> > i_input_id for playlist item IDs?
>                                                 ^^^^^^^^ playlist
>
>
Sorry, but I am not sure I understand your question.

The point is just that right now there is no checking and you can Drag&Drop
onto podcast and similar.

If this is what you are asking: yes, podcast & co. appear inside the
playlist model just like The Playlist and The Media Library,
meaning both QT4 model and core model.

The reason why I am comparing input id's instead of items is just to avoid
translating ids to items, because I would need PL_LOCK then,
which produces dead-lock inside flags(), tested.

And yes, the input ids space is separate from playlist ids space, but there
is a nice connection: playlist items which represent the
same entity, but one is in tree view and another in one level view, are
"connected" by pointing to the same input item, that allows nice tricks..

Is there something else that you wanted to ask?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090809/b295b0d4/attachment.html>


More information about the vlc-devel mailing list