Bug 353125 - Project broken after update to new kdenlive file format
Summary: Project broken after update to new kdenlive file format
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 09:20 UTC by Egor
Modified: 2016-08-05 17:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot with just opened Kdenlive with project in old format (726.25 KB, image/png)
2015-09-24 09:30 UTC, Egor
Details
Screenshot with project after conversion to new format (714.52 KB, image/png)
2015-09-24 17:37 UTC, Egor
Details
Proejct files (39.40 KB, application/octet-stream)
2015-09-24 17:38 UTC, Egor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor 2015-09-24 09:20:57 UTC
When I open project which was saved in old kdenlive version kdenlive says that my project now saved in the new format. If I close kdenlive and open my project again some clips missed in the timeline, but still available and playable in project monitor.

Details in screenshots:

Just after opening project in old format: https://dl.dropboxusercontent.com/u/59794362/kdenlive-wrong-save-to-new-format/Kdenlive_just_open_old_format_project.png

Project reopened after saving to new format: https://dl.dropboxusercontent.com/u/59794362/kdenlive-wrong-save-to-new-format
/Kdenlive1_reopened_project_after_saving_to_new_format.png

Project (old and new format versions): https://dl.dropboxusercontent.com/u/59794362/kdenlive-wrong-save-to-new-format/kdenlive-wrong-save-to-new-format.tar.gz

Reproducible: Always

Steps to Reproduce:
1. Open project in old format.
2. Kdenlive says that it converts project to new format.
3. Save project and close Kdenlive.
4. Open saved project.
5. You can see that some clips disappear from timeline. But video from missed clips still shows in project monitor.

Actual Results:  
Some clips disappear from timeline. But video from missed clips still shows in project monitor.

Expected Results:  
All clips still present at timeline after saving Kdenlive project in new format.

This issue present in 15.08.1 and version from git master (last commit 94eb1cf13acb1040abf134465f7cf89d6466fd28)
Comment 1 Egor 2015-09-24 09:30:25 UTC
Created attachment 94707 [details]
Screenshot with just opened Kdenlive with project in old format
Comment 2 Egor 2015-09-24 17:37:28 UTC
Created attachment 94710 [details]
Screenshot with project after conversion to new format
Comment 3 Egor 2015-09-24 17:38:12 UTC
Created attachment 94711 [details]
Proejct files
Comment 4 Jean-Baptiste Mardelle 2015-09-25 09:48:45 UTC
Thanks for your detailed report. I have not yet managed to reproduce but will work on it in the next 2 days - so a fix should be available soon.

Regards
Comment 5 Jean-Baptiste Mardelle 2015-09-25 17:11:27 UTC
Git commit 3d465a17be7119cbbf5fbd844bdd0fae10af2d68 by Jean-Baptiste Mardelle.
Committed on 25/09/2015 at 17:11.
Pushed by mardelle into branch 'master'.

Fix opening old project files makes some timeline clips invisible

M  +2    -4    src/doc/documentvalidator.cpp

http://commits.kde.org/kdenlive/3d465a17be7119cbbf5fbd844bdd0fae10af2d68
Comment 6 Egor 2015-09-28 17:57:38 UTC
Some clips still hidden in timelapse.
For example in the same project no one clip at 2:30 and 19:30 in timeline. But video still played in project monitor here.

Screenshot: /home/zuf/Dropbox/Public/kdenlive-wrong-save-to-new-format/Kdenlive-still-hidden-clips-present.png
Comment 8 Jean-Baptiste Mardelle 2015-09-28 18:33:18 UTC
Can you please save the project file created by latest git and attach it here so that I can understand what is happening ?
Comment 9 Jean-Baptiste Mardelle 2015-09-28 20:01:09 UTC
Ok, I think I understand the problem, working on a patch...
Comment 10 Egor 2015-09-28 20:06:15 UTC
Here the project file after saving from latest git: https://dl.dropboxusercontent.com/u/59794362/kdenlive-wrong-save-to-new-format/project-in-new-format2.kdenlive
Comment 11 Jean-Baptiste Mardelle 2015-09-28 20:48:43 UTC
Git commit 7ff6b770da4e72194fad0d40d0bbb98692605d9c by Jean-Baptiste Mardelle.
Committed on 28/09/2015 at 20:48.
Pushed by mardelle into branch 'master'.

Fix compatibility with older project files
Related: bug 352915

M  +60   -40   src/doc/documentchecker.cpp
M  +3    -1    src/doc/documentchecker.h
M  +10   -6    src/doc/documentvalidator.cpp

http://commits.kde.org/kdenlive/7ff6b770da4e72194fad0d40d0bbb98692605d9c
Comment 12 Egor 2015-09-28 21:10:41 UTC
Sorry, but same bug again.
Now I open the file in old format, save to new, reopen it and all seems ok.
Then I reload all files in the project tree, save project, reopen it and now most of clips in timeline disappear again.

Неre project file: https://dl.dropboxusercontent.com/u/59794362/kdenlive-wrong-save-to-new-format/project-in-new-format3.kdenlive
Comment 13 Egor 2015-10-05 14:58:06 UTC
Still affected by this annoying bug with version from git master (68aa759f9f094a0de267ac2401e6382811b58b26)
Comment 14 Vincent PINON 2015-11-03 21:46:51 UTC
Git commit 31b518b3d8f1b99ecc09481bcbe211a1c3a3ff7e by Vincent Pinon, on behalf of Jean-Baptiste Mardelle.
Committed on 03/11/2015 at 20:41.
Pushed by vpinon into branch 'Applications/15.08'.

Fix opening old project files makes some timeline clips invisible

M  +2    -4    src/doc/documentvalidator.cpp

http://commits.kde.org/kdenlive/31b518b3d8f1b99ecc09481bcbe211a1c3a3ff7e
Comment 15 Egor 2015-12-14 10:33:31 UTC
This bug still present in latest git (b03db9329bf392fdba3fa8982972a9021cac9b4b). It very annoying and stops me from using modern kdenlive on my projects which I started on previous versions. So, for now, I stuck with kdenlive 0.9.10 in my workflow.

When I try to work with converted project in modern kdenlive after some edits and save-open cycles I see missed clips in timeline.
Each time when I use "reload clip" feature from project bin and then save and reopen project some clips disappears from timeline, but still playable in project monitor.
Comment 16 Wegwerf 2016-07-30 11:10:21 UTC
Egor, can you please try again with a recent Kdenlive 16.04.2 release? Also, can you please supply some information as to which clips go missing: are there speed effects on them? Anything with the paths to these clips? What kind of clips are these? A/V clips? Title clips? Something else? Are these clips still in the project bin?