Bug 365632 - Timeline corruption resizing clips
Summary: Timeline corruption resizing clips
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 16.04.0
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 19:16 UTC by farid
Modified: 2016-08-12 00:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
bug when resizing (854.66 KB, video/webm)
2016-07-13 19:16 UTC, farid
Details
Crash from cutting and resizing clips (15.15 KB, text/plain)
2016-08-10 16:05 UTC, farid
Details
Corruption example 1 (2.18 MB, video/webm)
2016-08-10 16:15 UTC, farid
Details
Corruption example 2 (2.75 MB, video/webm)
2016-08-10 16:28 UTC, farid
Details

Note You need to log in before you can comment on or make changes to this bug.
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