Skip to content

Fix "go to next/previous subtitle from video position" skipping lines (#11602)#11970

Merged
niksedk merged 1 commit into
SubtitleEdit:mainfrom
muaz978:fix/go-to-next-sub-from-video-position-skip
Jun 29, 2026
Merged

Fix "go to next/previous subtitle from video position" skipping lines (#11602)#11970
niksedk merged 1 commit into
SubtitleEdit:mainfrom
muaz978:fix/go-to-next-sub-from-video-position-skip

Conversation

@muaz978

@muaz978 muaz978 commented Jun 29, 2026

Copy link
Copy Markdown

Part of #11602.

Navigation picked the first following line with duration under 10s (a heuristic to avoid landing on long ASSA background-effect lines), which skipped any ordinary caption of 10s or longer and jumped to a later short line, so users saw "next subtitle" leap over several lines.

Now go to the immediately adjacent line, and only skip a line when it is a genuine background effect: 10s or longer AND overlapping the following line. A fallback still selects the first or last line if everything qualifies. Applied to both next and previous.

…SubtitleEdit#11602)

Navigation picked the first following line with duration < 10s (a heuristic to
avoid landing on long ASSA background-effect lines). But that skipped any
ordinary caption >= 10s and jumped to a later, shorter line - so users saw the
"next subtitle" command leap over several lines.

Go to the immediately adjacent line instead, and only skip a line when it is a
genuine background effect: >= 10s long AND overlapping the following line. A
fallback still selects the first/last line if everything qualifies. Applied to
both the next and previous commands.
@niksedk niksedk merged commit 08f75d2 into SubtitleEdit:main Jun 29, 2026
2 checks passed
@muaz978 muaz978 deleted the fix/go-to-next-sub-from-video-position-skip branch June 29, 2026 08:55
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