Improve position restoration after changing the font size
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the reported sequence in an ePub: change text size from 100% to 200%, move forward one or two pages, then return to 100%. Start by tracing the font-size change and reading-position restoration flow; done means changing the size restores the reader to the position the user was reading before the change.
Written by the indexing model from the issue text.
Description
Describe the bug
When changing text size Readium doesn't keep the position and a user lose the page that I was before causing them to go back or forth to find it again.
How to reproduce?
- Open an ePub
- Change the text size (e.g. on page 5) to 200%
- Text change and stays on page 5
- Navigate to next page or two pages (page 6 or 7)
- Change text size back to 100%
- It stays in the page 6 or 7 and I lose where I was before
Readium version
3.4.0
OS version
iOS 17 to 26
Testing device
iPhone 12 mini
Environment
macOS: 26.0
platform: arm64
Xcode 26.0
Build version 17A324
Additional context
I did some research that says that it should work out of the box for epubs, but I couldn't find any that works. Is that statement true?
Thank you
- 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
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
haacked/switchboard#718 ·
Maintainers usually reply within 1 day
-
validate_app_localizations: harden stringsdict checks (None format key, count-less 'one' in ru/pl)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OneBusAway/onebusaway-ios#2137 ·
Maintainers usually reply within 1 day
-
area: notifications S3: minor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
manaflow-ai/cmux#74631 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/pocket-casts-ios#5823 ·
Maintainers usually reply within 1 day