Bug 425417

Summary: Clip in project bin is not correct after "Change speed"
Product: [Applications] kdenlive Reporter: CzAndrew <hello>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: julius.kuenzel
Priority: NOR    
Version First Reported In: 20.08.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description CzAndrew 2020-08-16 11:31:21 UTC
SUMMARY
Clip in project bin shows incorrect in and out when used on clips which playback speed has been changed.

STEPS TO REPRODUCE
1. Add a clip to the project bin and timeline.
2. Cut the clip into three parts, right click on the middle clip, choose "Clip in project bin" and notice the in and out points. Then change the speed of the middle one, remove space afterwards.
3. Right click on the middle clip, choose "Clip in project bin". 

OBSERVED RESULT
The in and out points are not correct after the playback of the clip has been changed.
Notice that the "Clip in project bin" values were correct before the speed of the clip was changed and not correct after the speed effect.

EXPECTED RESULT
The "Clip in project bin" should highlight the part of the clip which speed was changed.


SOFTWARE/OS VERSIONS
Windows: Win10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2021-04-07 14:00:19 UTC
Git commit e4796e36cbe2bead87a0291ce1e05949ad210f4a by Jean-Baptiste Mardelle.
Committed on 07/04/2021 at 13:59.
Pushed by mardelle into branch 'release/21.04'.

When selecting a bin clip from timeline, take care of speed in zone selection.

M  +1    -0    src/bin/bin.cpp
M  +28   -6    src/mainwindow.cpp
M  +7    -0    src/timeline2/view/timelinecontroller.cpp
M  +2    -0    src/timeline2/view/timelinecontroller.h

https://invent.kde.org/multimedia/kdenlive/commit/e4796e36cbe2bead87a0291ce1e05949ad210f4a