← Back to team overview

openshot.developers team mailing list archive

[Bug 663531] Re: I can't move the clip on the track

 

After playing around with the zooming code a bit, I figured something
out.  We are setting the bounds of the GooCanvas object each time we
zoom, using the .set_bounds() method.  When using a newer version of the
goocanvas library, the canvas can not be larger than 32606 pixels, or it
freaks out.  I figured that out with trial and error.  So, when OpenShot
zooms down to 1 second, it is using this formula to determine the new
width of the canvas:

(100 pixels per tick) * (timeline's length in seconds) / (zoom in
seconds)

Which comes to 60,000 pixels at a 1 second zoom (for a 10 minute
timeline).  Which breaks the newer version of GooCanvas.

Now, the big question.  What should we do about this.  Fix GooCanvas /
report a bug to them?  Change the way OpenShot draws the canvas, so the
canvas only needs to be as big as the screen (i.e. draw the screen as
the user scrolls around)...  Switch canvas libraries, which would take a
really large effort.

Looks like we have some things to think about.

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/663531

Title:
  I can't move the clip on the track

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  When I put a clip on one track and after I try to move it to the same track or another track, the clip dessapears.
The same happens when duplicate a clip, is not possible to move to other track.

Ubuntu 10.10 64 bits.
Install by PPA
Version: 1.2.2





References