Bug 448501

Summary: Graphical representation of keyframe level disappears at Zoom Level 18
Product: [Applications] kdenlive Reporter: KD <stardakev>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 21.12.3
Sentry Crash Report:
Attachments: Zoom Level 18 Timeline

Description KD 2022-01-15 00:44:15 UTC
Created attachment 145478 [details]
Zoom Level 18 Timeline

SUMMARY
There is a graphical representation of the effect level in key-framable effects in the timeline. The effect level representation fades out just before 00:02:42:00 on the timeline in both video and audio timelines

STEPS TO REPRODUCE
1. Set zoom level to 18
2. Add a key-framable effect and set its level so the level can be observed on the timeline
3. Scroll along the timeline until the level fades out

OBSERVED RESULT
The keyframe level representation fades out around the 00:02:42:00 

EXPECTED RESULT
The keyframe level representation should continue until the end of the track

SOFTWARE/OS VERSIONS
Windows:  10

ADDITIONAL INFORMATION
Comment 1 emohr 2022-01-30 11:23:37 UTC
Thank you for reporting. I can confirm the issue. 

Add a 3min 18sec long clip to the timeline. Add effect "rotate (keyframeable) to the clip. 
- Zoom in to 17/22 -> the dark blue stripe on the video ends at 3min 1sec. 
- Move zoom in to 18/22 -> the dark blue stripe on the video ends at 1min 36sec. 
- Zoom 19/22 -> the dark blue stripe on the video ends at 48sec.
Comment 2 Jean-Baptiste Mardelle 2022-02-01 11:47:27 UTC
Git commit accae0f6e661c5b4cc4b181e5f98866bd39cf959 by Jean-Baptiste Mardelle.
Committed on 01/02/2022 at 11:47.
Pushed by mardelle into branch 'master'.

Fix timeline keyframes sometimes disappearing from view.

M  +22   -4    src/timeline2/view/qml/Clip.qml
M  +19   -3    src/timeline2/view/qml/Composition.qml
M  +19   -5    src/timeline2/view/qml/KeyframeView.qml

https://invent.kde.org/multimedia/kdenlive/commit/accae0f6e661c5b4cc4b181e5f98866bd39cf959
Comment 3 emohr 2022-02-03 16:01:28 UTC
Fixed with this commit. The dark blue stripe on the video appears no matter which zoom are used. We can port it to 21.12.3.
Comment 4 Jean-Baptiste Mardelle 2022-02-28 07:42:02 UTC
Git commit a582fd66d71e2a55351fab5eab26f8e9bae69d6e by Jean-Baptiste Mardelle.
Committed on 28/02/2022 at 07:35.
Pushed by mardelle into branch 'release/21.12'.

Fix timeline keyframes sometimes disappearing from view.

M  +22   -4    src/timeline2/view/qml/Clip.qml
M  +19   -3    src/timeline2/view/qml/Composition.qml
M  +19   -5    src/timeline2/view/qml/KeyframeView.qml

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