Skip to content

fix(desktop-gpui): keep caption timing edits and drags instead of snapping back - #3619

Open
yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/gpui-captions
Open

yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:fix/gpui-captions

Conversation

@yashranaway

@yashranaway yashranaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

retiming a generated caption in the desktop editor didn't stick. dragging it on the timeline, dragging its edges or typing new start and end times in the caption panel all snapped it straight back to where it was, and left the saved caption inconsistent with its own words.

the edit wrote the new start and end onto the source caption but kept the old word timings, and the caption track is re-derived from word bounds whenever a caption has words, which every whisper or parakeet caption does. now the words are mapped onto the caption's new span, so a move shifts them and an edge drag stretches them. text only edits come out unchanged, and the shared derivation that export and render use is untouched.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; the latest changes address the earlier timing failures without an established new regression.

Summary

The PR saves caption timing edits by moving word times with the caption.

  • Caption moves and trims now retime their words to match.

Reviews (3) · Last reviewed commit: "fix(desktop-gpui): retime caption words ..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 07:55 Inactive
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Nov 1, 2026 8:56am UTC

Comment thread apps/desktop-gpui/src/transcription.rs Resolved
Comment thread apps/desktop-gpui/src/transcription.rs Resolved
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:39 Inactive
Comment thread apps/desktop-gpui/src/transcription.rs Resolved
Comment thread apps/desktop-gpui/src/transcription.rs Resolved
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:56 Inactive

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 7b02b287 Deployed Nov 1, 2026 by vercel[bot]
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.

1 participant