Skip to content

Shift + Left/Right no longer jumps one second backwards/forwards along the timeline #131

@clockworkpc

Description

@clockworkpc

In Openshot 1.4.3 I could use the keyboard shortcut SHIFT+Left to jump back one second on the timeline and SHIFT+Right to jump forward one second on the timeline.

If I'm not mistaken it was governed by this section in MainGTK.py:

    # check if frame-stepping or rewinding
    if single_frame == False:
        # SEEK BACKWARDS
        # calcualte new speed
        if current_speed >= 0:
            new_speed = -1
        else:
            new_speed = (current_speed * 2) 

        # set the new speed
        self.MyVideo.set_speed(new_speed)

        # update the preview tab label
        if new_speed == 1:
            self.lblVideoPreview.set_text(_("Video Preview"))
        else:
            self.lblVideoPreview.set_text(_("Video Preview (%sX)" % int(new_speed)))
    else:
        n_frames = 1
        if self._SHIFT:
            # step length is one second
            n_frames = int(round(self.project.fps()))
        # or just step 1 frame
        self.MyVideo.seek(position - n_frames)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions