Skip to content

Keep the burn-in Generate button reachable on short screens - #14550

Merged
niksedk merged 1 commit into
mainfrom
claude/subtitleedit-issue-14360-3c239b
Sep 5, 2026
Merged

Keep the burn-in Generate button reachable on short screens#14550
niksedk merged 1 commit into
mainfrom
claude/subtitleedit-issue-14360-3c239b

Conversation

@niksedk

@niksedk niksedk commented Sep 5, 2026

Copy link
Copy Markdown
Member

Fixes #14360

The reporter's screenshot is 1366x768 with the window maximized: about 700 DIPs of client height, less than the burn-in settings area needs (the preview row alone carries a 400 minimum). UiUtil clamps the window to the working area, so the Generate / OK / Cancel row was clipped off the bottom of the screen and could not be reached.

Change

  • The settings grid (settings column, cut, preview, audio, video info, batch list) now sits in a ScrollViewer; the progress bar and button row stay outside it, pinned at the bottom.
  • The grid's MinHeight follows the scroll viewer's viewport, so the star preview row keeps filling tall windows exactly as before. Only when the viewport is shorter than the content minimum does the area scroll.
  • The left column's own ScrollViewer is gone; the outer one clips the same overflow (Video generating loading bar UI error #13904).

Tests

BurnInWindowTests updated for the two-level grid, plus two new tests: the button row stays inside a 697 DIP tall window while the settings area scrolls, and the settings grid grows with the window without scrolling when there is room. All 10 pass.

Headless render at the reporter's client size (1366x697): Generate row visible, settings area scrolls.

🤖 Generated with Claude Code

On a 1366x768 laptop a maximized "Generate video with burned-in subtitle"
window has about 700 DIPs of client height, but the settings area needs
more (the preview row alone carries a 400 minimum). UiUtil clamps the
window to the working area, so the rows below the fold - the Generate /
OK / Cancel row - were clipped off the screen with no way to reach them.

Wrap the settings grid (settings column, cut, preview, audio, video info,
batch list) in a ScrollViewer and keep the progress bar and the button
row outside it. The grid's MinHeight follows the viewport so the star
preview row still fills tall windows exactly as before; only when the
viewport is shorter than the content minimum does the area scroll.

The left column's own ScrollViewer is no longer needed: the outer one
clips the same overflow (#13904).

Fixes #14360

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@niksedk
niksedk merged commit 65ab2d5 into main Sep 5, 2026
1 check passed
@niksedk
niksedk deleted the claude/subtitleedit-issue-14360-3c239b branch September 5, 2026 06:13
oiomaker pushed a commit to oiomaker/subtitleedit that referenced this pull request Sep 5, 2026
Bump the version to v5.2.0-rc3 in Se.cs and English.json, and add the
change-log section covering the 32 pull requests merged since v5.2.0-rc2
(every merged PR ancestor-checked against the rc2 tag).

Grouped: the two audio.cpp per-line clone fixes (SubtitleEdit#14511, SubtitleEdit#14512) share a
line, as do the two waveform playback fixes (SubtitleEdit#14528, SubtitleEdit#14532) and the two
short-screen dialog fixes (SubtitleEdit#14550, SubtitleEdit#14551). Left out as internal-only:
the UiTickPump timer follow-up (SubtitleEdit#14543) and the WhisperX log-noise env
vars (SubtitleEdit#14513).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.

Generate video with hardcoded subtitles

1 participant