Skip to content

v1.0.9 — stop blocking Subscriptions/You tabs and restore frame rate#13

Merged
undisputedP merged 1 commit into
mainfrom
claude/v1.0.9-state-only-tighter
May 9, 2026
Merged

v1.0.9 — stop blocking Subscriptions/You tabs and restore frame rate#13
undisputedP merged 1 commit into
mainfrom
claude/v1.0.9-state-only-tighter

Conversation

@undisputedP
Copy link
Copy Markdown
Owner

Summary

Two regression fixes from v1.0.8.

  • Subscriptions / You tabs were back-pressed away. PLAYER_CONTAINER_FRAGMENTS matched pager / recycler / container, which appear on the Shorts shelf embedded in those feeds. Narrowed to ["player"] only — the full-screen Shorts player still has Player in its class name, so detection there is unchanged.
  • Frame rate still dropped on scroll. typeWindowContentChanged fires at ~30 Hz inside YouTube; even with the v1.0.8 250ms throttle, the dispatch cost alone tanked frame rate. Now registering only typeWindowStateChanged, which fires on real screen transitions (opening Shorts, switching tabs, navigating to a video) — exactly when detection needs to re-run.
  • versionCode 9 → 10, versionName 1.0.8 → 1.0.9.

Test plan

  • Install the v1.0.9 APK on device
  • Open YouTube, confirm bottom-nav buttons 4 (Subscriptions) and 5 (You) are reachable and stay open
  • Scroll the home / Subscriptions feed and confirm frame rate is back to normal
  • Tap the Shorts tab — confirm the player is still dismissed (state-changed should still catch it)
  • Open a regular video — confirm it plays without back-press

🤖 Generated with Claude Code

- Narrow PLAYER_CONTAINER_FRAGMENTS to ["player"] only. The previous
  list ("pager"/"recycler"/"container") matched the Shorts shelf
  embedded in the Subscriptions and "You" feeds, so v1.0.8 back-pressed
  those tabs as soon as they loaded.
- Register only typeWindowStateChanged. typeWindowContentChanged fires
  at ~30 Hz during YouTube scroll; even with the v1.0.8 throttle the
  dispatch cost itself dropped frame rate. State-changed fires only on
  real screen transitions, which is when detection needs to re-run.
- Bump versionCode 9 -> 10, versionName 1.0.8 -> 1.0.9.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@undisputedP undisputedP merged commit 1d2e9ff into main May 9, 2026
2 checks passed
@undisputedP undisputedP deleted the claude/v1.0.9-state-only-tighter branch May 9, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant