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 648341 - When project is reopened, start/end keyframes are incorrectly positioned
When project is reopened, start/end keyframes are incorrectly positioned
Status: RESOLVED OBSOLETE
Product: pitivi
Classification: Other
Component: Timeline
0.13.5
Other Linux
: Normal normal
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-21 00:24 UTC by Jason Gerard DeRose
Modified: 2011-09-03 05:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pitivi-okay.png (129.43 KB, image/png)
2011-04-21 00:27 UTC, Jason Gerard DeRose
Details
pitivi-broken.png (130.75 KB, image/png)
2011-04-21 00:32 UTC, Jason Gerard DeRose
Details
the xptv (1.80 KB, text/x-xptv)
2011-04-25 20:44 UTC, Jason Gerard DeRose
Details

Description Jason Gerard DeRose 2011-04-21 00:24:08 UTC
Not sure if this is something specific to the versions of GStreamer, PyGTK, etc in Ubuntu Natty, but it is a quite serious bug:

  https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/766671

With this bug, PiTiVi is only usable if you complete the entire edit without reopening the file.

Steps:

1) Add a single clip and drag onto the timeline

2) Trim some off the start and end of this clip, drag left to position it at start of timeline

3) Save the file, and note that clip will look like it does in 1st attached screenshot (pitivi-okay.png)

4) Close PiTiVi, then reopen again, load project, and clip will be totally broken like it does in 2nd attached screenshot (pitivi-broken.png)
Comment 1 Jason Gerard DeRose 2011-04-21 00:27:19 UTC
Created attachment 186401 [details]
pitivi-okay.png

This shows the timeline before reopening the project.
Comment 2 Jason Gerard DeRose 2011-04-21 00:32:50 UTC
Created attachment 186402 [details]
pitivi-broken.png

This shows the same project after saving the file, closing PiTiVi, then reopening, loading project.

Notice how the keyframe for the end of this clip is now positioned at about 75% toward the end rather than at the very end.

When I render, it renders based on the position of this keyframe rather than the real stop point.

As a work around, if you select the entire timeline and drag it around a bit, then some recalculation happens
Comment 3 Jean-François Fortin Tam 2011-04-23 12:52:57 UTC
I'm unable to reproduce this in either pitivi git or pitivi 0.13.5 on Ubuntu 10.10 or Fedora 15... Maybe cairo broke again in ubuntu 11.04?

Do you get any tracebacks/errors? Can you reproduce this outside of ubuntu 11.04?
Comment 4 Jason Gerard DeRose 2011-04-25 20:15:37 UTC
I haven't had a chance to try reproducing this outside of Ubuntu 11.04... but I've used PiTiVi a lot on Ubuntu 10.10 and never encountered this.

I don't believe this is a cairo issue as it doesn't just display incorrectly, it *renders* incorrectly.  My hunch is there is a problem with either writing or loading the xptv file.
Comment 5 Jason Gerard DeRose 2011-04-25 20:18:16 UTC
Oh, no traceback, it's just incorrect.
Comment 6 Jason Gerard DeRose 2011-04-25 20:32:47 UTC
Also, note that there have been no changes in PiTiVi between Ubuntu 10.10 and 11.04:

http://changelogs.ubuntu.com/changelogs/pool/main/p/pitivi/pitivi_0.13.5-1ubuntu4/changelog

So this is a behavior that manifests because of the specific versions of GStreamer and whatever else shipping in Ubuntu 11.04.  The question is why.
Comment 7 Jason Gerard DeRose 2011-04-25 20:44:38 UTC
Created attachment 186617 [details]
the xptv

This is the xptv file from the example, forgot to attach earlier.
Comment 8 travestydenny+bugzilla 2011-07-14 18:59:05 UTC
I'm getting the same behaviour on my Ubuntu 11.04. Pitivi 13.5. Upon opening the file, I get the following traceback:

/usr/lib/pitivi/python/pitivi/formatters/etree.py:181: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem' or 'elem is not None' test instead.
  input_streams = element.find("input-streams") or []
/usr/lib/pitivi/python/pitivi/formatters/etree.py:363: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem' or 'elem is not None' test instead.
  if curves_element:
/usr/lib/pitivi/python/pitivi/application.py:284: Warning: g_object_set_qdata: assertion 'G_IS_OBJECT (object)' failed
  self.mainloop.run()
Comment 9 Fabio Durán Verdugo 2011-09-03 05:11:31 UTC
I can't reproduce in Pitivi 0.14.2 Ubuntu Oneiric  and the same version from git master.

Closing the Bug, feel free to reopen the bug is still is valid in the version 0.14.2. thank :-)