Add option to center waveform video position also while paused#12562
Merged
Conversation
The waveform "Center" toggle only kept the play-head centered during playback; in SE 4 the center/lock mode also worked while paused, so mouse-wheel scrubbing walked the audio as one continuous strip with the cursor pinned to the middle. Fixes #12555. New setting "Center video position also while paused" (default off, Settings - Waveform). When enabled together with the Center toggle: - Mouse-wheel position scrubbing keeps the cursor centered on every step instead of jumping half a page when it leaves the view. - Any paused position change (waveform click, shortcuts) recenters the view. Only actual changes recenter, so the user can still scroll around the waveform freely while the play-head is at rest. - "Select current subtitle while playing" also applies while scrubbing paused, selecting the line under the centered cursor. Change-gated so it doesn't steal back a manual grid selection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12555.
Problem
In SE 4 the waveform Center/lock toggle kept the play-head centered regardless of playback state, and the mouse wheel moved the video position instead of the view — so you could scrub through the audio as one continuous strip with the cursor pinned to the middle, and (combined with "select current subtitle") whatever line landed under the cursor was auto-selected. In v5 the Center toggle only centers during playback; while paused, wheel-scrubbing jumps half a page whenever the cursor leaves the view.
Fix
New setting "Center video position also while paused" (Settings → Waveform/spectrogram, default off — no behavior change for existing users). When enabled together with the waveform Center toggle:
To get the full SE 4 workflow from the issue: enable the waveform Center toggle, Mouse-wheel sets video position, Select current subtitle while playing, and the new option.
The select-current scan was extracted from the 50 ms timer into a shared
SelectCurrentSubtitleAtPlayheadhelper, used by both the playing and paused paths.🤖 Generated with Claude Code