Bug 365632

Summary: Timeline corruption resizing clips
Product: [Applications] kdenlive Reporter: farid <snd.noise>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED FIXED    
Severity: grave CC: wegwerf-1-2-3
Priority: NOR    
Version: 16.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug when resizing
Crash from cutting and resizing clips
Corruption example 1
Corruption example 2

Description farid 2016-07-13 19:16:02 UTC
This weird behaviour happens whenever I resize a clip. Can't really say when it starts or why. Nor could I always reproduce it.

Reproducible: Always
Comment 1 farid 2016-07-13 19:16:55 UTC
Created attachment 100073 [details]
bug when resizing
Comment 2 Wegwerf 2016-08-04 16:45:28 UTC
Hi Farid, we seem to have a duplicate of this?
Comment 3 farid 2016-08-10 16:05:52 UTC
Created attachment 100525 [details]
Crash from cutting and resizing clips

Using today's git build.
Comment 4 farid 2016-08-10 16:10:23 UTC
I have gotten deeper into this and I think I found the reason for the corruption and even got a crash (See attachment).

1- Basically drag a clip to the timeline and split it in half. 
2- Move one of the halved clips to another track and resize them both to their actual size by dragging their ends.
3- Cut the 2 clips in half again and redo steps 2 and 3.

Weird things start happening to the clips.
Comment 5 farid 2016-08-10 16:15:20 UTC
Created attachment 100526 [details]
Corruption example 1
Comment 6 farid 2016-08-10 16:28:53 UTC
Created attachment 100527 [details]
Corruption example 2
Comment 7 Jean-Baptiste Mardelle 2016-08-11 20:07:06 UTC
Git commit b129df473f530d980ef173e21bf2a1ab81feaec1 by Jean-Baptiste Mardelle.
Committed on 11/08/2016 at 20:06.
Pushed by mardelle into branch 'Applications/16.08'.

Fix possible corruption

M  +1    -2    src/timeline/customtrackview.cpp

http://commits.kde.org/kdenlive/b129df473f530d980ef173e21bf2a1ab81feaec1
Comment 8 farid 2016-08-12 00:38:04 UTC
Thanks JB, 

Will close this and if anything goes wrong will open another one.

Cheers :D