Skip to content

fix(editor): show the final frame when seeking to the timeline end - #2750

Merged
richiemcilroy merged 3 commits into
CapSoftware:mainfrom
yashranaway:fix/preview-timeline-end
Oct 21, 2026
Merged

richiemcilroy merged 3 commits into
CapSoftware:mainfrom
yashranaway:fix/preview-timeline-end

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

jumping the playhead to the very end of the timeline left whatever frame was on screen before, because the end time is exclusive in the timeline mapping, so the preview renderer found no segment for it and skipped rendering.

now preview requests get clamped to the last real output frame using the current project snapshot, so seeking to the end shows the final frame. the mapping rules themselves don't change. the new seek test covers the end after the timeline shrinks, fractional and sub frame durations and an exact cut boundary, and the playback and seek oracles pass.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; both previously reported issues are addressed.

Summary

The preview clamps end seeks to the last output frame using the current project settings.

  • Seeking to the timeline end shows the final frame.

Reviews (2) · Last reviewed commit: "fix(editor): pick the last preview frame..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

@yashranaway is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread crates/editor/src/editor_instance.rs
Comment thread crates/verify/tests/seek.rs
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@richiemcilroy
richiemcilroy merged commit 02c1e61 into CapSoftware:main Oct 21, 2026
59 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants