GNOME Bugzilla – Bug 720040
GES.Project does not emit "loaded" if the timeline is empty
Last modified: 2014-06-22 13:44:44 UTC
In Pitivi, create a new project, save it as new.xges, close Pitivi. Run bin/pitivi new.xges, notice ProjectManager._projectLoadedCb is not called (even though self.current_project.connect("loaded", self._projectLoadedCb) has been called). It does work if the project has at least one imported file (even when the timeline is empty).
I believe it does emit the signal, there is code to explicitely do it in GES, can you write a test case to show what you say here?
Test case currently failing added here: https://github.com/aleb/pitivi/commit/e7aaccb3818de486d7fb2fe197c385057f873f9d Maybe not very useful (who loads an empty project from the disk..?), but you never know what ugly problem remains to be found.
OK, thanks for the testcase, it shows that the signal is not loaded if the *timeline* is empy, not the project itself. I will have a look at that.
commit 14a2f5943d97318ce87d268f9dd17629a94c5800 Author: Thibault Saunier <thibault.saunier@collabora.com> Date: Fri Dec 27 10:08:47 2013 +0100 base-xml-formatter: Emit 'loaded' right after a project with empy timeline is loaded https://bugzilla.gnome.org/show_bug.cgi?id=720040