Lagging when scrolling the last portion of large PDFs

Open
#114 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ios, swift

Research direction

Start by tracing how the current locator notification is sent, then profile that path while scrolling near the end of an 800-page PDF with a large table of contents, such as Groovy in Action. The issue names no files or tests, so locating the relevant code and reproducing the slowdown will take investigation. Done means scrolling no longer lags in this scenario.

Written by the indexing model from the issue text.

Description

When the navigator is located towards the end of a large PDF, scrolling lags. The lagging seems to occur when sending the current locator notification, so it might be some expensive computation done on the main thread.

Sample: 800 pages and (or?) large table of contents, e.g. PDF Groovy in Action.

Dominant language
Swift
Stars
557
Forks
249
Avg merge
3h 52m
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from readium/swift-toolkit

All issues in readium/swift-toolkit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.