Skip to content

Fix a strip of an open list staying above the playback bar after it closes - #106

Merged
seaweeduk merged 1 commit into
masterfrom
fix/strip-list-edge
Nov 22, 2026
Merged

seaweeduk merged 1 commit into
masterfrom
fix/strip-list-edge

Conversation

@seaweeduk

Copy link
Copy Markdown
Owner

A long list opened from the playback bar (subtitle or audio tracks, chapters) or a tooltip over its top row reaches above the bar, into the strip texture's room above its body. Once it closed, that room kept its last picture. Only the body's rows are shown, but the panel's filtering and smaller mip levels still sample the rows just above it, so a thin dotted line of the old list stayed along the top edge of the playback bar.

Menu::redraw() now remembers when something was drawn above the body (stripAboveDrawn_). The first redraw that no longer shows that room clears it as well, the same way the strip's frame replaces the rest, and uploads it. Nothing changes while a list is open, and the room is cleared once per close.

Probe: list opened from the bar, an item picked Drawn pixels above the body, before After
31 subtitle tracks 1,408,000 0
15 audio tracks 896,059 0
30 chapters 874,939 0

Known and left as is

  • CairoCanvas::record() still skips a pixel upload if it cannot reserve staging space. This change retries the strip clear after a reported lost upload; it doesn't change canvas-wide staging behavior.
  • The held-seek strip can still show a list that was open when the menu closed. That behavior is separate from clearing stale list pixels.

Important

AI disclosure

Model Variant Role
anthropic/claude-opus-5-5 high Implementation
openai/gpt-6.2-astra high Independent review

Agent harness OpenCode 2.3.2

@seaweeduk seaweeduk added the fix Bug fix (release notes: Fixes) label Nov 22, 2026
@opencode-agent

Copy link
Copy Markdown

LGTM 👍

When a list or tooltip closes, the next strip redraw replaces the stale pixels above the playback bar with transparency and uploads those rows before the mipmaps are regenerated. A browser-only redraw that dismisses a strip tooltip also triggers the clear. Subsequent playback ticks keep their usual partial redraws.

github run

@seaweeduk
seaweeduk force-pushed the refactor/wave-5 branch 2 times, most recently from 53e2f9e to e635c6a Compare November 22, 2026 20:59
@seaweeduk
seaweeduk changed the base branch from refactor/wave-5 to master November 22, 2026 21:00
@seaweeduk
seaweeduk merged commit a5bf081 into master Nov 22, 2026
@seaweeduk
seaweeduk deleted the fix/strip-list-edge branch November 22, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix (release notes: Fixes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant