← Back to team overview

openshot.bugs team mailing list archive

[Bug 550449] Re: zooming is slow

 

This problem is two-fold:

1) The slider itself uses a delayed update policy, meaning that the
update signal to redraw the goocanvas is emmitted only every now and
then while dragging. Changing the policy is easy to do in the UI files.

2) When changing the slider's update policy the redraw (effectively the
Render() method in the sequence class) is invoked continuously while
dragging which results in some serious flickering.

Fortunately, there is a solution to (2) as well: simply temporarily
postponing redraws while the goocanvas is being redrawn. Then allowing a
redraw once the goocanvas contents have been rebuild.

I've attached a patch which enables smooth zooming via the zoom
scroller.

** Patch added: "Enables continuous zoom slider updates"
   https://bugs.launchpad.net/openshot/+bug/550449/+attachment/3762903/+files/AST-2013-08-06-Openshot-Zoom-Slider.diff

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

Title:
  zooming is slow

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  Zooming is quite slow and does not follow the zoom slider
  interactively. The two magnifier glass buttons are better, but it
  takes almost a second to update the timeline (with a dozen clips on 4
  tracks, ``simple'' theme) on a 2.8GHz P4.

  Furthermore, the fully-zoomed-out position on the zoom slider should
  adapt to the length of the project.

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