GNOME Bugzilla – Bug 576577
removing clips does not work with multiple tracks
Last modified: 2009-03-25 15:38:39 UTC
1) Add clip to timeline 2) add second clip to timeline 3) move second clip to not start at 0 and move down so its on an extra track 4) select both clips (ctrl-click) 5) remove clips(del) 6) first clip gets removed, second one gets video removed half, preview gone, but outline stays, audio stays 7) terminal spits errors: Traceback (most recent call last):
+ Trace 213816
self.timeline.deleteSelection()
self.removeTimelineObject(timeline_object, deep=True)
track.removeTrackObject(track_object)
self._updateMaxPriority()
self.emit('max-priority-changed', self._max_priority)
*args, **kwargs)
res = cb(*ar, **kw)
Traceback (most recent call last): File "pitivi/ui/preview.py", line 90, in do_simple_update Zoomable.nsToPixel(self.element.duration), self.height) File "pitivi/timeline/track.py", line 113, in _getDuration return self.gnl_object.props.duration AttributeError: 'NoneType' object has no attribute 'props' Traceback (most recent call last): File "pitivi/ui/preview.py", line 95, in do_simple_paint self.element, self.bounds.y1) File "pitivi/ui/previewer.py", line 193, in render_cairo sof = Zoomable.nsToPixel(element.start - element.in_point) File "pitivi/timeline/track.py", line 96, in _getStart return self.gnl_object.props.start AttributeError: 'NoneType' object has no attribute 'props' Traceback (most recent call last): File "pitivi/ui/preview.py", line 95, in do_simple_paint self.element, self.bounds.y1) File "pitivi/ui/previewer.py", line 193, in render_cairo sof = Zoomable.nsToPixel(element.start - element.in_point) File "pitivi/timeline/track.py", line 96, in _getStart return self.gnl_object.props.start AttributeError: 'NoneType' object has no attribute 'props' Traceback (most recent call last): File "pitivi/ui/preview.py", line 95, in do_simple_paint self.element, self.bounds.y1) File "pitivi/ui/previewer.py", line 193, in render_cairo sof = Zoomable.nsToPixel(element.start - element.in_point) File "pitivi/timeline/track.py", line 96, in _getStart return self.gnl_object.props.start AttributeError: 'NoneType' object has no attribute 'props'
commit 39025093f89a631626f51073d043073041300446 Author: Alessandro Decina <alessandro.decina@collabora.co.uk> Date: Wed Mar 25 16:33:09 2009 +0100 Fix a traceback removing clips. Fixes #576577.