Repository navigation
Lift a video-to-video switch's cover once OWE shows the new video - #19616
AndreasAdi wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryThe cover now opens once OWE reports the selected video ready, including when that video is paused at frame zero.
|
|
before, about 11 s with the frozen frame screenrecording-2026-11-21_08-44-28.mp4 |
|
after, about 1.1 s screenrecording-2026-11-21_08-46-09.mp4 |
|
Codex (GPT-6, High) read the diff, comments, linked issue #18659, base-branch rules and background handoff callers at The queue workflow stops here for maintainer review. No reproduction, worker tests or diagnosis second opinion has run, and verification is incomplete. No code or labels were changed. |
|
Codex (GPT-6, High) reproduced #18659 on an ISO worker running real Hyprland/Quickshell and OWE 0.2.18. Through
Opus 5.5 High reviewed the same head and found no blocking findings; reviewer independence is not guaranteed. This waits on maintainer approval of the |
6555ff9 to
d3cbc0e
Compare
A switch from a playing video to another video raised its cover while OWE already held the desktop, so the shell's background never turned ready and the frame poll never started. The cover stayed for the 10 s fallback. finishTheme now polls OWE for the new video's path when the switch ends on a video, and reveals once it is ready, paused or playing. Fixes omacom#18659 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d3cbc0e to
3193327
Compare
|
Codex (GPT-6, High) checked
Greptile now scores this head 5/5, and I answered its missing-test finding with the mutation result. The required Opus 5.5 High second opinion could not run because its weekly quota is exhausted; |






What changes
Fixes #18659. Switching the background from one video to another holds a frozen frame of the old video over the desktop for ~10 s, though OWE shows the new video within ~0.3 s.
BackgroundSwitchcovers the desktop with a snapshot when a change happens while OWE holds it, then callsBackgroundIntro.finishTheme(). That waits for the shell's background to turn ready, or for the frame poll to see a video. When the new background is also a video, neither happens:backgroundReadynever turns true.backgroundActivechanges to false. It was already false before the cover went up, so the poll never starts.Only the 10 s
themeFallbacklifts the cover, andbusyqueues any background picked meanwhile.finishTheme()now takes the switch's background. When OWE holds the desktop and that background is a video, it starts the frame poll for that path. The poll reveals onceowe render-statusreports that pathreadywithout a transition. It matches the path because the outgoing video passes the existing check too. It doesn't requiretime_pos > 0, since a video loaded under a pause policy holds its first frame at 0. Intro playback and still targets keep their existing paths.Verification
test/shell.d/background-video-handoff-test.sh(new; Speed up test suite and run compositor tests headlessly #19904 removedbackground-intro-lifecycle-test.sh, where the first version of this test lived): OWE first reports the outgoing video, playing; the cover must stay. Then it reports the new video, paused at 0; the cover must open. It fails onquattro(the cover opens once OWE shows the new video, paused on its first frame) and passes with the fix. On the rebased head,./test/shellpasses: 253 files, none failing.omarchy-theme-bg-setuntilthemeIntroBusyreportsready:owedrestarted against it so its suspend calls reach it:omarchy-theme-bg-switcher, Left + Return sent withwtype), from the keypress untilthemeIntroBusyreportsready, video → video:media ready~0.65–0.8 s after the keypress.Not checked: a theme switch onto a video background. It goes through
play()with its own clip and doesn't reach this path.Side note, not changed here: after a shell restart, the shell assumes it isn't suspended until OWE next toggles it, since OWE only sends changes. While that lasts, video → video takes the ordinary path and doesn't show this bug.
Screenshots
Recordings of a video → video switch are in the first comment:
Filed by Claude Opus 5.5 via Claude Code.