← Back to team overview

linux-traipu team mailing list archive

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

 

Ok, but even if this is the case (old Cairo/Goocanvas, 16 bits integer +
16 bits decimal), there the comfortable 16-bit decimal part  encompasses
a range from 0000 to 9,999 (but not to 99,999). Combined with the
integer part, one can go from 0.0000 to 65,535.9999 which represent
65,360,000 distinct values.

Assuming that a desired time-line precision would be 1/100 sec, old Goocanvas/Cairo should be able to accommodate a time-line of 653,600 seconds, which is ... 1820 hours !!
And even if one wanted to go for a 1/1000 sec precision, old Goocanvas/Cairo would accommodate a time-line of 182 hours.

So maybe it's all about using that decimal part, with an appropriate
canvas-to-time ratio??

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, 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