Closed Bug 834360 Opened 12 years ago Closed 4 years ago

Make scrolling better in pdf.js

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: snorp, Unassigned)

References

Details

So pdf.js uses a <div> filled with <canvas> for each page, which should in theory work out ok for scrolling/panning. But it's slow. The slowness could just be due to pdf.js redrawing sometimes while panning, but I think there may be something else going on.
I have noticed that disabling the text layer (used for selection) seems to dramatically increase scrolling performance on desktop. You can put #textLayer=off in the url to disable that.
perhaps we can put a toggle button in the pdf.js UI that defaults to text selection off.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.