Repository navigation
Fix Loading screens when paging cached X4 lists offline - #182
Open
Fledgewing wants to merge 1 commit into
Open
Fledgewing wants to merge 1 commit into
Fledgewing wants to merge 1 commit into
Conversation
Fledgewing
force-pushed
the
fix/x4-offline-scroll
branch
from
November 27, 2026 02:33
c7104d5 to
c1cc96f
Compare
Probe refreshed SD windows and exact replies through the catalog client before declaring a session-list cache miss. Cache probes explicitly forbid HTTP, even with Wi-Fi connected. Keep the bounded row window. Add a 245-book offline simulator traversal with blocking-paint, request, swipe-count and 250 ms per-page checks; also cover the default sectioned layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw
Fledgewing
force-pushed
the
fix/x4-offline-scroll
branch
from
November 27, 2026 02:34
c1cc96f to
bf250cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening the next cached X4 catalog page painted Loading before consulting the SD write-through cache. The browser checked only session-list files; ordinary Home refresh stores 100-row replies in a separate cache. The two-page RAM window exposed that mismatch every page or two.
The list-cache probe now uses the catalog client’s saved-window adapters with HTTP explicitly disabled. Cached book and facet pages draw without a blocking screen, while real cache misses retain the existing connection flow. The RAM window stays bounded; both X4 models share the fix and X3 keeps its flash cuts.
Validation:
Test scope: the full reverse traversal uses compact rows. The sectioned layout has a separate existing selection/viewport issue that can pull a reverse swipe forward again; this change checks its forward cached paging without changing selection behavior.
No release, tag, device access, cache reset or cache migration. Maintainer still needs to sideload a test build and confirm SD/e-ink paging on the reader before any release.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BLYjLJzEkmBRpMx6vsJ4xw