EPUB conformance profile ignored in WebPub manifests
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- mobile-dev
Research direction
Start by tracing how the toolkit handles a WebPub manifest's conformsTo value for the EPUB profile, then follow the code paths for user preferences and location updates. Reproduce with the Moby Dick manifest in the Readium Test App on iOS; done means EPUB-profile publications expose preferences and update locations while scrolling as expected.
Written by the indexing model from the issue text.
Description
Describe the bug
When loading a WebPub manifest that declares conformance to the EPUB profile via "conformsTo": "https://readium.org/webpub-manifest/profiles/epub", the publication does not behave like an EPUB. Instead, it's treated as a standard WebPub with limited functionality.
Issues observed
- No user preferences available e.g.: Theme selection, letter spacing, text alignment, etc.
- Location tracking behaves like WebPub instead of EPUB:
- Location updates only trigger on full page changes
- No location updates during in-page scrolling
Environment
- Confirmed in: Readium Test App
- Works correctly in: Throium Web
Example
Moby Dick on the publication server demonstrates the issue:
https://publication-server.readium.org/Z3M6Ly9yZWFkaXVtLXBsYXlncm91bmQtZmlsZXMvZGVtby9tb2J5LWRpY2suZXB1Yg/manifest.json
How to reproduce?
- Load a WebPub manifest with the EPUB profile declaration, e.g. download and import https://publication-server.readium.org/Z3M6Ly9yZWFkaXVtLXBsYXlncm91bmQtZmlsZXMvZGVtby9tb2J5LWRpY2suZXB1Yg/manifest.json (streaming won't work as there is and issues with http range support)
- Open the publication
- Attempt to submit user preferences - it won't work
- Observe location update behavior while scrolling
Readium version
3.3.0
OS version
iOS 18.5
Testing device
iPhone 16
Environment
macOS: 15.5
platform: arm64
carthage: 0.40.0
Xcode 16.3
Build version 16E140
Additional context
No response
- Dominant language
- Swift
- Stars
- 557
- Forks
- 249
- Avg merge
- 3h 52m
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from readium/swift-toolkit
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
readium/swift-toolkit#954 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
readium/swift-toolkit#841 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 57/100
readium/swift-toolkit#961 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
readium/swift-toolkit#959 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
readium/swift-toolkit#953 ·
Maintainers usually reply within 1 day
All issues in readium/swift-toolkit
Similar issues
-
area: models enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rexmhall09/TUFF#69 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nikitabobko/AeroSpace#2427 · 1 comment ·
Maintainers usually reply within 8 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
A second click on the Control Center widget doesn't close Control CenterPossibly taken @MaHofseth claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100