Bug 418087 - Extract clip doesn't delete the other clips on the group
Summary: Extract clip doesn't delete the other clips on the group
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 19.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-23 12:09 UTC by CzAndrew
Modified: 2021-03-08 23:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CzAndrew 2020-02-23 12:09:59 UTC
SUMMARY
When using extract Clip (right click on a clip in the timeline, then select extract clip), only the clip which is clicked on is extracted.

STEPS TO REPRODUCE
1. Open a new project, add a videoclip to the project bin, then the timeline.
2. Cut the clip into three parts, so part of the clip can be extracted. Notice that the video and audio parts of the clips are grouped, so if you move the video clip, the grouped audio part is moving with it automatically.
3. Right click on the video part of the middle clip in the timeline, then select "Extract Clip".

OBSERVED RESULT
The video part of the clip is extracted, the clip after it fills the space, but the audio part of the extracted clip is still there. If you play the video, the audio is out of sync.

EXPECTED RESULT
Extract clip should extract all the clips which is in the same group. In this example, both the video and audio part should have been extracted (they are grouped).

SOFTWARE/OS VERSIONS
Windows: Win10
Kdenlive: 19.12.2

ADDITIONAL INFORMATION
Workaround: Delete the clip (Del button) which you want to extract, then right click on the empty space, then choose "Remove Space".
Comment 1 emohr 2020-03-08 15:56:17 UTC
Tested on the master. Extract the middle video extract the audio as well. 

Do you ungroup the clip before you cut it? If so then select the video and audio with shift -> then cut the clip. Then both video and audio gets cut. Extract works for video and audio separate.
Comment 2 CzAndrew 2020-03-08 18:07:18 UTC
I tested it again, and for me it doesn't work... extract clip deletes only the video part and leave the audio in its place. The video and audio is grouped.
If they wouldn't be grouped, I would expect the "Extract clip" to extract only one clip, like the way it is working now.
But as the video and audio are in one group, I would expect "Extract clip" command to delete the video and the grouped audio as well... If I'm cutting out part of a video, I would expect to have the audio synchronized, so if I use the extract clip command, I expect to delete the video and it's audio part, so the rest of the video will be in sync with the audio. For me it is logical.
If I select the video and audio, and I use the extract clip command, only the video gets deleted, the rest of the clip moved to fill the empty space, and the rest of the audio will be out of sync.
If you would like to, I'll make a video of it.
Comment 3 emohr 2020-03-08 18:44:02 UTC
Confirmed. This is a bug in 19.12.3 but solved in the master. 

Please check with Kdenlive_Nightly_Appimage
https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/
Comment 4 farid 2021-03-05 13:40:01 UTC
Can you please test with latest appimage and let us know if you can reproduce?
Comment 5 CzAndrew 2021-03-08 23:53:16 UTC
I just tested with v20.12.3, and the problem is solved.