ReadViewSDK/Sources/RDReaderView
shenlei b8aa10c535 Add diagnostic logs for total pages not updating investigation
Add RDEPUBBackgroundTrace.log at key decision points in the
reconciliation pipeline to trace why pageMap updates get rejected:

1. refreshBookPageMapInPlace — logs when a full pageMap update is enqueued
2. evaluateTakeover — logs when keepCurrentWindow is returned due to:
   - jumpSession coverage ratio < 0.8
   - adjacent coverage missing (hasPrev/hasNext)
   - renderSignature mismatch
3. evaluateFullPageMapTakeover — logs when keepCurrentWindow is returned due to:
   - currentSpineIndex not in candidate chapters
   - adjacent coverage missing
4. commitPendingPageMapUpdate — logs when keepCurrentWindow decision is
   applied and pending update is removed from queue

Also fix unused variable warning for currentPageNumber in extendPartial case.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 18:57:16 +08:00
..
EPUBCore Remove all RDEPUBBackgroundTrace.log and bare print diagnostic calls 2026-06-25 18:25:22 +08:00
EPUBTextRendering Remove all RDEPUBBackgroundTrace.log and bare print diagnostic calls 2026-06-25 18:25:22 +08:00
EPUBUI Add diagnostic logs for total pages not updating investigation 2026-06-25 18:57:16 +08:00
ReaderView Remove all RDEPUBBackgroundTrace.log and bare print diagnostic calls 2026-06-25 18:25:22 +08:00