Hi,<br><br>This is regarding a bug in src/Gui/timeline/TracksView.cpp:<br><br>When I drag a video item from Media library to the project timeline, the mouseMoveEvent in "MediaCellView" creates a snapshot/thumbnail and execs.<br>
When I drag it (GraphicsEffectItem) to the timeline and drop it, everything goes fine. But, if I drag it to the timeline and instead of dropping it, I drag it away from timeline,<br>TracksView::dragLeaveEvent( QDragLeaveEvent *event ) is called and it does:<br>
<br><span style="color: rgb(153, 0, 0);">...</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);"> delete m_dragEffectItem;</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">...</span><br>
<br>And, bang you get segmentation fault.<br><br>Relevant lines from the bt:<br><br>#0 0x0813983c in TracksView::dragLeaveEvent (this=0x8553f28, event=0xbfffd504) at /home/rohit/Lab/vlmc/src/Gui/timeline/TracksView.cpp:765<br>
#30 0x004f999e in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /usr/lib/libQtGui.so.4<br>#31 0x081100f7 in MediaCellView::mouseMoveEvent (this=0x87538a8, event=0xbfffe844) at /home/rohit/Lab/vlmc/src/Gui/library/MediaCellView.cpp:214<br>
<br>I don't know in detail how these objects interact or what exactly is happening, pl. fix it :)<br><br>Thanks,<br>Rohit Yadav<br>