Skip to content

Loopr 1.10

Choose a tag to compare

@PortableDiag PortableDiag released this 15 Aug 16:53
· 16 commits to main since this release

A floating window that goes black while the video carries on playing now notices and fixes itself.

Loopr already closed a window with a message whenever the player reported a failure. But a video surface can stop putting frames on screen without reporting anything at all, and nothing in that path fires — so the window was left as a black rectangle with no way to recover it.

Each window now watches the frames actually being drawn rather than taking the player's word for it. If they stop for three seconds while it still claims to be playing, it hands the surface back, then reloads the video at the same spot, and only if neither works does it close the window and say why.

  • Quiet about it — a window that recovers just carries on playing.
  • Stays out of the way when frames stop for a good reason: screen off, or the system hiding overlays over Settings and permission dialogs. Verified against a long A–B loop, which seeks back every few seconds and is the case most easily mistaken for a stall.
  • When it does fire it records whether the playback clock was still running — the detail that says whether the picture died or playback itself wedged. adb shell setprop log.tag.LooprQueue DEBUG.

Verified on an Android 15 emulator against a clean install of this signed build, plus six instrumented tests driving a real overlay window.

Honest limit: the black window this addresses was seen once, briefly, and could not be reproduced — so this is a safety net and a diagnostic, not a confirmed root-cause fix. If a window still goes black, the log now says what happened.