← Back to team overview

openshot.bugs team mailing list archive

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

 

This patch works around the short comings of the underlying library.  It
dynamically scales the available range in the scrollbar to whatever
OpenShot needs to control the timeline.  If you set  the zoom control to
one second, you will still be able to scroll through all of a very long
project (tested with a project of 3 hours length.)  This scaling comes
at the cost of making the scroll itself coarser the larger the project
is.  For the 3 hour long project I tested, moving the timeline thumb by
one pixel moves the timeline itself by nearly 2 seconds.

** Attachment added: "timeline.patch.tar.gz"
   https://bugs.launchpad.net/openshot/+bug/722285/+attachment/3161783/+files/timeline.patch.tar.gz

-- 
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