Skip to content

[Bug]: Cursor jumps back right after a trim when smoothing is on #1679

Backlog

Description

@alexeylovchikov

Search existing issues

  • I have searched the existing issues

Describe the bug

With cursor smoothing on, playing across a trim makes the drawn cursor land on the pointer for one frame and then jump back, as if it were still catching up with the footage the trim removed. It then catches up over about half a second. It shows in the preview and in an exported MP4.

Measured on v2.3.0 at 100 % smoothing, with a 1.05 s trim over a moving pointer: the second frame after the cut is 6.7 % of the frame height away from the first (about 72 px at 1080p).

Cause, as far as I can tell: the cursor spring (CursorTrack::smoothed) runs over the whole recording, including the footage a trim or a clip boundary removes, and only restarts when the cursor reappears after a hidden phase. The one good frame comes from the preview installing an unsmoothed track for one loop turn when it crosses to the next clip.

Expected behavior

After a cut the drawn cursor is where the pointer is in the first frame that is kept, and goes on from there. Footage that was removed should not move it.

To Reproduce

  1. Open a take recorded with an editable cursor, where the pointer moves.
  2. In the Cursor panel set Smoothing to 100 % and Motion blur to 0 % (the jump is easier to see).
  3. Put the playhead where the pointer is moving and add a trim of about one second (T).
  4. Play across the trim, or export and step through the frames after the cut.

Screenshots

Before (v2.3.0) and after (with the fix), same project, 13 s: https://github.com/alexeylovchikov/openscreen/releases/download/demo-cursor-motion/cursor-after-trim-before-after-1080p.mp4

Cursor position as a fraction of the frame (x, y), read frame by frame from that capture, next to a replay of the spring on the take's own .cursor.json (trim 2.550–3.596 s):

Frame after the cut v2.3.0 Replay, no restart With the fix Replay, restart
1st 0.464, 0.506 (raw pointer: 0.469, 0.495) 0.466, 0.510 0.469, 0.495
2nd 0.456, 0.439 0.462, 0.440 0.468, 0.512 0.470, 0.504
3rd 0.462, 0.462 0.464, 0.457 0.470, 0.522 0.471, 0.522
4th 0.462, 0.476 0.466, 0.472 0.470, 0.533 0.472, 0.533

OS

Windows

OS Version

Windows 11 Pro 26300, NVIDIA RTX 4060 Ti (D3D11)

Other OS

No response

Browser

No response

Browser Version

No response

Other Browser

No response

Device Type

Desktop

Other Device

No response

Additional context

A fix is ready in #1651: the spring restarts where the playing clip's footage starts, in the preview and in the export, with unit tests.

I first described this inside #1650 together with a feature proposal. This issue separates the bug, which stands on its own.

Activity

  1. added
    bug
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions