44 lines
2.5 KiB
Markdown
44 lines
2.5 KiB
Markdown
# Stock chat Back after scrolling
|
|
|
|
User supplied exact reproduction: chat list → open chat → scroll to top → scroll
|
|
to bottom → Android Back. The previous rendering benchmark did not exercise this
|
|
sequence and did not establish the device-specific cause.
|
|
|
|
## Navigation correction
|
|
|
|
- Chat is now a real pushed Navigator page at **all widths**, including tablets
|
|
and unfolded devices. The old wide layout swapped a thread into the main page
|
|
and manually stepped the route back instead of popping a page.
|
|
- Detail page bars let Material/Cupertino supply Back automatically. No custom
|
|
Back callback, forced leading button, chat PopScope, timer or extra press.
|
|
- Chat no longer publishes an onBack override into shell chrome. Normal route
|
|
completion still clears selection and keeps the re-push safety guard.
|
|
- Home double-back remains home-only. New regression performs the user's scroll
|
|
sequence at 390/840 logical pixels, verifies a real route and a stock Back
|
|
action, pops with one system Back, and only then verifies two presses to exit.
|
|
- Existing navigation tests find native Back controls rather than an app-specific
|
|
key; deep-link tests await the actual reverse transition, not two zero-time frames.
|
|
|
|
## Evidence and limits
|
|
|
|
- 12 focused chat/deep-link/detail tests pass.
|
|
- Browser probe now supports OPEN_FROM_LIST, SCROLL_ROUNDTRIP, CHAT_VARIANCE and
|
|
PROBE_WIDTH. Screenshots prove top/bottom were reached; fixtures remain loopback.
|
|
- Quiet browser samples did not reproduce a multi-second delay: phone was about
|
|
481ms before; wide previously used an immediate manual route change. After the
|
|
real wide-page push, it pops in about 501ms with the native transition.
|
|
These numbers are NOT evidence that the reported physical-device delay is fixed.
|
|
- Captures: `build/scroll-back-repro-before/`, `build/scroll-back-wide-before/`,
|
|
`build/scroll-back-wide-after/`.
|
|
- Final exact-flow browser samples at phone Android-theme and wide Cupertino
|
|
sizes also pass: `build/scroll-back-final-phone/` and
|
|
`build/scroll-back-final-wide-cupertino/`. These remain browser, not device,
|
|
observations.
|
|
- Source landed as f22afabd. Full gate: clean analysis and **1,852 tests pass**.
|
|
- No scroll-workaround, transition-duration change, backend mutation, service
|
|
restart or device testing.
|
|
- `./install --web` succeeded; public URLs match installed JS SHA256
|
|
`cbd7e1629c6c2257afdf79156620e4c3d38997bb13851eee85a57d5af0c87d53`.
|
|
Web rollback: `app/build/web-before-stock-chat-back-1792841967/`.
|
|
- APK build/publication pending. Actual Android-device timing remains unverified.
|