[vlmc-devel] commit: TracksView: Fixing effects useless moves detection ( Hugo Beauzée-Luyssen )
Rohit Yadav
rohityadav89 at gmail.com
Fri Sep 24 18:48:36 CEST 2010
Hi,
This is regarding a bug in src/Gui/timeline/TracksView.cpp:
When I drag a video item from Media library to the project timeline, the
mouseMoveEvent in "MediaCellView" creates a snapshot/thumbnail and execs.
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,
TracksView::dragLeaveEvent( QDragLeaveEvent *event ) is called and it does:
...
delete m_dragEffectItem;
...
And, bang you get segmentation fault.
Relevant lines from the bt:
#0 0x0813983c in TracksView::dragLeaveEvent (this=0x8553f28,
event=0xbfffd504) at
/home/rohit/Lab/vlmc/src/Gui/timeline/TracksView.cpp:765
#30 0x004f999e in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) ()
from /usr/lib/libQtGui.so.4
#31 0x081100f7 in MediaCellView::mouseMoveEvent (this=0x87538a8,
event=0xbfffe844) at
/home/rohit/Lab/vlmc/src/Gui/library/MediaCellView.cpp:214
I don't know in detail how these objects interact or what exactly is
happening, pl. fix it :)
Thanks,
Rohit Yadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlmc-devel/attachments/20100924/2cc655c6/attachment.htm>
More information about the Vlmc-devel
mailing list