Release Kaleido 0.6.1 with smoother browsing
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m24s
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m24s
Home, Movies and TV stay composed once shown and are revealed instead of rebuilt; hidden screens are unplaced, have no semantics and take no focus. The hero stays composed as a zero-alpha layer. Lazy-list prefetch runs on FramePrefetch, which uses only spare frame time (unlimited only when truly idle) instead of Compose's scheduler, which gave late frames unlimited time and composed whole rows mid-scroll. CacheWindows keeps Compose's cache-window strategy on that scheduler and premeasures nested cards. With any accessibility service enabled, Compose walked and sorted every composed node every 100 ms while browsing; rows and cards outside the viewport now carry no semantics. Cards use a lighter artwork path, lay out both title weights up front, and models are @Immutable. Preview and hero copy compose over the transparent start of their fade. Library sync applies its snapshot after 2 s without input, and moveToRow retries focus so a refreshed card is never left unfocused. profile_transitions.py now counts frames actually dropped on the display. On the onn the 42 measured transitions dropped 24-38 frames, versus 55 for 0.6.0; details are in docs/runtime-verification.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ca5f0e20e5
commit
30e0f30bca
20 changed files with 502 additions and 111 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Ask clarifying questions before proceeding when more information is needed. Otherwise make reasonable decisions and complete the authorized work.
|
||||
- This is a real native Android TV Plex client: Kotlin, Jetpack Compose, Media3/ExoPlayer. Preserve working Plex functionality; do not substitute mock content or prototype playback.
|
||||
- The primary test device is the onn at **192.168.50.195:5555**, package **tv.kaleido.app**, activity **.MainActivity**. The user also authorized two weaker devices for performance testing: a Fire TV Stick 4K (Fire OS 8, 32-bit) at **192.168.50.146:5555** and a TCL Smart TV Pro (MT5896, slowest GPU) at **192.168.50.200:5555**. Scripts target the onn unless `KALEIDO_DEVICE` names another serial. Always specify the ADB serial. Do not modify any device's launcher, accessibility services (the onn runs two, which add per-frame semantics work), settings, or other apps. The TCL's network ADB link drops intermittently; `device.py` reconnects and retries.
|
||||
- The primary test device is the onn at **192.168.50.195:5555**, package **tv.kaleido.app**, activity **.MainActivity**. The user also authorized two weaker devices for performance testing: a Fire TV Stick 4K (Fire OS 8, 32-bit) at **192.168.50.146:5555** and a TCL Smart TV Pro (MT5896, slowest GPU) at **192.168.50.200:5555**. Scripts target the onn unless `KALEIDO_DEVICE` names another serial. Always specify the ADB serial. Do not modify any device's launcher, accessibility services (the onn runs Luma's Home-button service; Button Mapper was removed at the user's request on 2026-10-29; any service makes Compose do semantics work), settings, or other apps. The TCL's network ADB link drops intermittently; `device.py` reconnects and retries.
|
||||
- `.env` contains `PLEX_SERVER_URL` and `PLEX_TOKEN` for local testing. Never print, commit, or embed credentials in source, resources, APKs, or logs. Keep `.env`, signing keys, toolchains, and private evidence ignored.
|
||||
- Use the existing encrypted session. `scripts/device.py seed` provisions an installed **debug** build only when needed; the app encrypts and deletes its bootstrap file. Never clear app data or sign out just to reset a test.
|
||||
|
||||
|
|
@ -76,6 +76,7 @@ These require the private test session. Playback test intents (`testTitleId`, `t
|
|||
|
||||
- Keep initialization independent of cancellable tab requests and apply section results atomically. Cancelling initialization during a startup tab switch previously left Movies/TV blank.
|
||||
- Foreground library sync polls revisions every 15 seconds with a 60-second refresh fallback; pause it for playback/background and stage updates before applying them. Preserve stable hub/card focus IDs and current library filters/range. `LibrarySyncIntegrationTest` tests the real timer against an in-memory HTTP fixture without changing Plex or the encrypted session.
|
||||
- Home, Movies and TV stay composed once shown; hidden ones are unplaced, have no semantics and must never request focus (gate effects on `active`). Catalog and rails prefetch through `FramePrefetch`/`CacheWindows`, which must remain a `CacheWindowLogic` or rows stop being kept around. With any accessibility service enabled, Compose walks every composed node after each layout change: keep offscreen rows and cards without semantics (`semanticsOnScreen`). See `docs/runtime-verification.md` (frame pacing).
|
||||
- Preserve explicit D-pad row/column targets and fixed card geometry. Avoid expensive beyond-bounds focus searches, per-focus catalog recomposition and full-screen gradient overdraw. Contrast is baked into cached backdrop bitmaps off the main thread.
|
||||
- Give every Media3 session a unique ID: next-episode creation can overlap the old controller's disposal. Plex HLS position is absolute; **do not add the requested resume offset again**.
|
||||
- Handle remote Back explicitly before default focus handling. Wait for menu focus restoration in tests instead of sending blind rapid button sequences.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue