After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720040 - GES.Project does not emit "loaded" if the timeline is empty
GES.Project does not emit "loaded" if the timeline is empty
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Linux
: Normal minor
: 1.3.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-07 21:01 UTC by Alex Băluț
Modified: 2014-06-22 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Băluț 2013-12-07 21:01:48 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).
Comment 1 Thibault Saunier 2013-12-07 23:11:24 UTC
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?
Comment 2 Alex Băluț 2013-12-15 23:08:14 UTC
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.
Comment 3 Thibault Saunier 2013-12-27 08:55:51 UTC
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.
Comment 4 Thibault Saunier 2013-12-27 09:15:26 UTC
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