Skip to content

Point sync via other: restore Apply and Find text buttons (#12262)#12263

Merged
niksedk merged 1 commit into
mainfrom
fix/point-sync-via-other-apply-findtext-12262
Jul 8, 2026
Merged

Point sync via other: restore Apply and Find text buttons (#12262)#12263
niksedk merged 1 commit into
mainfrom
fix/point-sync-via-other-apply-findtext-12262

Conversation

@niksedk

@niksedk niksedk commented Jul 8, 2026

Copy link
Copy Markdown
Member

Fixes #12262

The Avalonia "Point sync via another subtitle…" dialog was missing three controls that exist in SE 4:

  • Apply button
  • Two "Find text…" buttons (one per subtitle grid)

Changes

  • Apply: re-previews the synced timings in the left grid without closing the dialog. It recomputes from the original timings each time, so repeated Apply clicks don't stack. Enabled once at least one sync point exists.
  • OK: now also syncs from the original snapshot instead of the live grid, so pressing OK after using Apply no longer double-applies the sync.
  • Find text: added under each subtitle grid. Opens the shared FindTextWindow and selects the matching line — reusing the same pattern already used by Visual Sync (FindTextLeft/FindTextRight).

Testing

  • dotnet build src/ui/UI.csproj — succeeds, 0 warnings
  • dotnet test tests/UI/UITests.csproj --filter FullyQualifiedName~PointSync — passes

🤖 Generated with Claude Code

The Avalonia "Point sync via another subtitle..." dialog was missing the
Apply button and the two "Find text..." buttons present in SE 4.

- Apply re-previews the synced timings in the left grid without closing,
  recomputing from the original timings so repeated clicks don't stack.
- OK now also syncs from the original snapshot, avoiding a double-apply
  after Apply was used.
- Find text opens the shared FindTextWindow for the main and the other
  subtitle and selects the matching line (reuses the VisualSync pattern).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@niksedk niksedk merged commit 730ff50 into main Jul 8, 2026
1 of 3 checks passed
@niksedk niksedk deleted the fix/point-sync-via-other-apply-findtext-12262 branch July 8, 2026 05:34
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.

Apply is gone in "Point sync via another subtitle..."

1 participant