← Back to team overview

openshot.bugs team mailing list archive

[Bug 722285] Re: timeline only shows 320 times the zoom slider setting

 

I also found out that:
 
    1) only the right half of the canvas is used, from X = 0 to X = +32,768

    2) some GooCanvas features are not used, such as (in C++ syntax) the
"scale-x" property, which is the horizontal magnification factor of the
canvas with a default value of 1 (cf.
http://developer.gnome.org/goocanvas/unstable/GooCanvas.html#GooCanvas--
scale-x and http://lists.cairographics.org/archives/cairo-
commit/2007-May/008061.html)


Therefore (please tell me wrong if it is the case), if we used the full range that GooCanvas can handle, from -32,768 to +32,768, we would double the size of the video that the time-line can show. This means that the canvas should originate at X = -32,768 instead of the current X = 0. On the top of that, we could use a horizontal magnification factor of the canvas above 1, so that even when we zoom-out in order to see a long video on the time-line, we could see details as if we were zooming-in (maybe in another window?). 

In my opinion, the main difficulty here is to find each and every piece of code that deals with that horizontal canvas coordinate (it looks to me that there is many...). 
Can anyone help?

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

Title:
  timeline only shows 320 times the zoom slider setting

Status in libcairo  -  cairo vector graphics library:
  Confirmed
Status in OpenShot Video Editor:
  Confirmed

Bug description:
  The timeline only shows the first (320*zoom seeting) seconds of a project.
  So if the zoom slider setting is set to 1 s, the timeline stops at 5'20'' (=320'')
  if it set to 2 s, it stops at 10'40'' (=640''), 4 s it stops at 21'20'' (=1280''), etc.

  How to reproduce:
  -launch OpenShot and create a new project of 60 min
  -with the default 8 s zoom setting you can only move the timeline up to 42'40'' (=2560 = 320*8)
  -try zooming in and see the timeline shorten as you zoom more

  1. Ubuntu 10.10 x64
  2. PPA installation
  3. OpenShot 1.3.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/libcairo/+bug/722285/+subscriptions