Bug 360322 - 15.13.0 git master - Cannot remove clip in timeline when it was inserted overwriting another clip (video example included)
Summary: 15.13.0 git master - Cannot remove clip in timeline when it was inserted over...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL: https://youtu.be/T7Oacz6qQyQ
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 18:09 UTC by Unknown
Modified: 2016-03-14 03:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2016-03-09 18:09:26 UTC
See video in URL field for example.

Whenever I Press "V" to insert a clip in the timeline, when it overwrites another clip currently on the same track, I cannot remote the overwriting clip that I just inserted.

Running from Konsole gives this error:
Error deleting clip at 17.767750
"Error removing clip at 00:00:17,18 on track Video 3"


Reproducible: Sometimes

Steps to Reproduce:
1. Insert a clip in the timeline from Clip Monitor (whether inserting with the mouse, or pressing "V")
2. Insert a clip in the timeline from Clip Monitor by pressing "V", overwritting a clip in the timeline on any track.
3. Try to press "Delete" keyboard key or right-click on the clip that was just inserted and click "Delete Selected Item".

Actual Results:  
Clip does not get removed from the timeline. Status bar at bottom gives error.

Expected Results:  
Clip gets removed from timeline without issue.

Bug discovered while using Kdenlive latest git build (.deb package made 2016.03.09) on Kubuntu 15.10 x64, KDE Framework 5.18.0 from Kubuntu backports ppa.
Comment 1 Jean-Baptiste Mardelle 2016-03-12 23:01:11 UTC
Git commit 931c624b59800ce802f479e08b052618436307a8 by Jean-Baptiste Mardelle.
Committed on 12/03/2016 at 23:01.
Pushed by mardelle into branch 'master'.

Fix overwrite mode corrupting timeline

M  +2    -2    src/monitor/monitor.cpp
M  +36   -27   src/timeline/customtrackview.cpp
M  +4    -3    src/timeline/customtrackview.h
M  +2    -3    src/timeline/track.cpp

http://commits.kde.org/kdenlive/931c624b59800ce802f479e08b052618436307a8
Comment 2 Unknown 2016-03-14 03:28:54 UTC
Looks like it works no in the latest git build for Kubuntu. Thanks JB!