-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Regression] The zoomLayer
-functionality is broken after PR 17817
#18622
Labels
Comments
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 4, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 4, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 5, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 5, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 5, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 5, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 5, 2024
…endering is finished It fixes mozilla#18622. It avoids to recreate a canvasWrapper element in order minimize the DOM operations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attach (recommended) or Link to PDF file
wuppertal_2012.pdf
Web browser and its version
N/A
Operating system and its version
N/A
PDF.js version
master
, or any version after PR #17817Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
page-width
. (It must be a zoom operation that triggers immediately, i.e. not usingdefaultZoomDelay
.)What is the expected behavior?
That the previously rendered canvas, as stored in
this.zoomLayer
on thePDFPageView
-instance, is visible while the new canvas renders in the background.Note that you need a fairly slow rendering page to easily spot this, which is probably why the issue has gone unnoticed.
What went wrong?
The new canvas renders visibly, which
this.zoomLayer
is intended to avoid (such that the page is "usable" while re-rendering occurs.)Link to a viewer
No response
Additional context
git bisect
gave the following output, i.e. this points to PR #17817:/cc @calixteman
The text was updated successfully, but these errors were encountered: