Bug 412369 - When lock track: "Invalid composition transition1 found on track x at xx"
Summary: When lock track: "Invalid composition transition1 found on track x at xx"
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 19.08.1
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 16:07 UTC by ITicDigger
Modified: 2019-10-29 16:20 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ITicDigger 2019-09-26 16:07:04 UTC
SUMMARY
If you lock a track that has a “Composite and transform” transition, save the project, close the application and open the project again, you will get a message like this: Invalid composition transition1 found on track 3 at 589. And the transitions disappear from the track.

STEPS TO REPRODUCE
1. create color clip and add it on track
2. add to this clip “Composite and transform” transition
3. lock track
4 save project
5 close kdenlive
6 open project again


OBSERVED RESULT
 you will get a message like this: Invalid composition transition1 found on track 3 at 589. And the transitions disappear from the track.

EXPECTED RESULT
There should be no error messages and all transitions must be in place


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04.3
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5
ADDITIONAL INFORMATION
Comment 1 KhoPhi 2019-09-30 21:18:26 UTC
This bug is a show stopper indeed. Spent hours on not.an edit. I do not even recall locking a track or whatnot.

Until there's a fix, is there any workaround, perhaps somewhere in the kdenlive file to edit to cut away the transition whatever cancer blocking kdenlive from loading? Hours if not days are gonna be lost here, if no workaround exist.

It's just sad and unfortunate.
Comment 2 emohr 2019-10-28 19:31:27 UTC
Confirmed.
Comment 3 Jean-Baptiste Mardelle 2019-10-29 04:36:55 UTC
Git commit 68726a4c19afff0605a78f68cb6eddf3c69c32f3 by Jean-Baptiste Mardelle.
Committed on 29/10/2019 at 04:36.
Pushed by mardelle into branch 'master'.

Fix compositions disappear after reopening project with locked track.

M  +13   -9    src/timeline2/model/builders/meltBuilder.cpp

https://invent.kde.org/kde/kdenlive/commit/68726a4c19afff0605a78f68cb6eddf3c69c32f3
Comment 4 Jean-Baptiste Mardelle 2019-10-29 04:41:15 UTC
Git commit fd9a00fb52ba9d5e23e06bf8ab5eeafe3ca0c017 by Jean-Baptiste Mardelle.
Committed on 29/10/2019 at 04:40.
Pushed by mardelle into branch 'Applications/19.08'.

Fix compositions disappear after reopening project with locked track.

M  +13   -9    src/timeline2/model/builders/meltBuilder.cpp

https://invent.kde.org/kde/kdenlive/commit/fd9a00fb52ba9d5e23e06bf8ab5eeafe3ca0c017
Comment 5 Jean-Baptiste Mardelle 2019-10-29 04:45:13 UTC
Thanks for your report and sorry for this. It is now fixed in git. The transition were indeed correctly saved in the project file, problem was on opening. With the fix, transitions will appear correctly when re-opening the initial project file.

Fix will be in 19.08.3 and I can publish an updated AppImage tomorrow morning as a fix if that helps you.
Comment 6 Jean-Baptiste Mardelle 2019-10-29 08:12:39 UTC
Or easier, you can open the .kdenlive project file in a text editor. Then search for:
kdenlive:locked_track

You should find a line like:
... "kdenlive:locked_track">1</property>

Replace the 1 with a 0 in that line and transitions should load correctly (it will disable the track locking that caused the issue).
Regards