Bug 468962 - Clip on timeline changes identity/name, gets exchanged random
Summary: Clip on timeline changes identity/name, gets exchanged random
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 23.04.0
Platform: Mint (Ubuntu based) Linux
: NOR grave
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-25 19:15 UTC by herman.herman
Modified: 2023-05-02 16:19 UTC (History)
3 users (show)

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


Attachments
The requested .kdenlive project (721.51 KB, application/x-kdenlive)
2023-04-28 10:25 UTC, herman.herman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herman.herman 2023-04-25 19:15:30 UTC
Clip on timeline changes identity/name, gets exchanged random
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
After working for a while by making clips and placeing them on different tracks I noticed that some clips change identity and behave as another. I have several cuts of a clip (cut that has gotten another name and after them one clip is replaced by a random one. In that same project I get a error message when opening the project saying "Invalid clip chain1 found on track playlist2 at 00:00:16:07."

STEPS TO REPRODUCE
1. I don't know


OBSERVED RESULT
Clip changes identity/name, gets exchanged at random

EXPECTED RESULT
The clip I place is there until I move it with it's actual name.

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

ADDITIONAL INFORMATION
Linux Mint xcfe 21.1 Vera
Comment 1 emohr 2023-04-27 16:23:24 UTC
Similar issues here: Bug 469040, Bug 469029, Bug 468999
Comment 2 Jean-Baptiste Mardelle 2023-04-28 09:12:01 UTC
Thanks for your report. Could you share your .kdenlive project file ? That would help us understand the issue.
Comment 3 herman.herman 2023-04-28 10:25:03 UTC
Created attachment 158511 [details]
The requested .kdenlive project
Comment 4 Jean-Baptiste Mardelle 2023-04-28 14:12:13 UTC
Thanks a lot for the project file, I can reproduce and working on a fix...
Comment 5 herman.herman 2023-04-29 04:22:12 UTC
(In reply to Jean-Baptiste Mardelle from comment #4)
> Thanks a lot for the project file, I can reproduce and working on a fix...

That's great! I'm looking forward to that fix :D
Comment 6 Jean-Baptiste Mardelle 2023-04-29 05:05:27 UTC
Git commit 364e23f6d1ba104e40623297b82a0ee873942925 by Jean-Baptiste Mardelle.
Committed on 29/04/2023 at 05:05.
Pushed by mardelle into branch 'release/23.04'.

Fix project corruption on opening, add test to prevent from happening again

M  +0    -1    src/mltcontroller/clipcontroller.cpp
M  +10   -1    src/project/projectmanager.cpp
M  +1    -1    src/project/projectmanager.h
M  +2    -3    src/timeline2/model/builders/meltBuilder.cpp
A  +-    --    tests/dataset/blue.mp4
A  +1672 -0    tests/dataset/clip-ids.kdenlive
A  +-    --    tests/dataset/green.mp4
A  +-    --    tests/dataset/red.mp4
A  +-    --    tests/dataset/yellow.mp4
M  +72   -0    tests/filetest.cpp

https://invent.kde.org/multimedia/kdenlive/commit/364e23f6d1ba104e40623297b82a0ee873942925
Comment 7 herman.herman 2023-04-30 06:00:25 UTC
Was the changes included in the latest rolled out update? Because it seems to have been solved. I have spent an hour or two now in the project and the bug has not showed up anew, however the update did not magically fix the project-file, so I had to remove the corrupted clips and place the clips on the timeline again which felt like a minor thing as long as it's not happening in the future :). I can report back after another couple of hours if you want?
Comment 8 Julius Künzel 2023-04-30 07:31:12 UTC
How did you install Kdenlive?

We recently rolled out an update for Flatpak and the PPA. Appimage, windows and macOS will follow soon. Please note that distro package are not maintained by the Kdenlive team and we do not have control over them. However 23.04.1 with more (less major) fixes is planned to be released in about 2 weeks
Comment 9 herman.herman 2023-05-01 08:02:16 UTC
(In reply to Julius Künzel from comment #8)
> How did you install Kdenlive?
> 
> We recently rolled out an update for Flatpak and the PPA. Appimage, windows
> and macOS will follow soon. Please note that distro package are not
> maintained by the Kdenlive team and we do not have control over them.
> However 23.04.1 with more (less major) fixes is planned to be released in
> about 2 weeks

Through flatpak :). I have spent some more hours in the editing and it seems like the bug is fixed! Great work!
Comment 10 emohr 2023-05-02 16:19:53 UTC
Thank you for the feedback. Glad to hear it works. We close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.