Fix overflowing tab selection scroll and chrome alignment

Merged
AU
1d ago
+1-1

Summary

  • update bonsplit to use one MainActor AppKit geometry authority for tab frames, viewport scrolling, and selection chrome
  • make the selected-tab visible rect exclude the trailing action lane, shifting right-edge tabs far enough left to expose their close buttons
  • align the blue active indicator with the same right-edge fade as the selected tab content
  • keep reveal intent pending until the selected item container reports its final live frame
  • preserve programmatic reveal ownership through layout-driven clip-view bounds changes, while handing ownership back when live user scrolling begins
  • remove competing SwiftUI proxy scrolling and queued clip-view corrections

Paired component PR

Regression coverage

  • Bonsplit 033997e adds failing lifecycle tests for late scroll-view attachment and SwiftUI restoring a stale clip offset
  • Bonsplit f647ae3 preserves pending reveal intent through attachment/layout and makes those lifecycle regressions pass

Verification

  • arch -arm64 swift test in vendor/bonsplit: 197 tests passed
  • tagged cmux Debug build succeeded and was launched with ./scripts/reload.sh --tag issue-8069-tab-overflow-scroll --launch
  • python3 scripts/swift_file_length_budget.py was run and reports five pre-existing over-budget cmux files unchanged by this pointer-only parent diff

Localization audit

No user-facing strings were added or changed, so no English/Japanese catalog entries are required.

Addresses #8069

Summary by CodeRabbit

  • Chores
    • Updated an integrated third-party component to a newer revision.
    • Maintenance update only, with no intentional end-user feature changes or behavior modifications.
    • No action is required from users.