Skip to content

Loopr 1.13

Choose a tag to compare

@PortableDiag PortableDiag released this 30 Aug 02:56
· 12 commits to main since this release

Fixed floating windows vanishing while you're in another app.

They were never closing themselves — the whole of Loopr was being shut down. A floating window outlives the activity that opened it, so the only thing holding one is a background process. When the system reclaims that process every window goes at once, in silence, taking the queue, the position and the A–B points with it, because they only ever existed in memory — and nothing brought them back.

Loopr now writes the open windows down as you use them and puts them back when the system restarts it: same size, same place on screen, same video, carrying on from where it got to.

  • It gives up after three restores in quick succession and says so, rather than fighting the system for your battery.
  • Windows you close yourself stay closed; only ones taken away from you come back.
  • Covers the process dying for any reason — memory pressure or a crash. Android shows you nothing in either case, which is why the two look identical from the outside.

Also

  • A window that fails to go back up after a rebuild is now closed properly, instead of leaving a player running with nothing on screen.
  • Every reason Loopr closes a window is now written to the log as well as shown. Android suppresses an app's toasts when its notifications are turned off, so on a phone where that's the case Loopr's explanations were being swallowed and windows appeared to vanish for no reason.

Verified on the emulator: three floating windows, one dragged somewhere distinctive, killed with SIGKILL — all three came back at identical geometry, on their own videos, playing on from where they were.