Skip to content
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

Refactor removing of the zoomLayer into a helper method, and use that in PDFPageView.reset to ensure that the entire zoomLayer is actually removed (issue 8209) #8210

Merged
merged 1 commit into from Mar 30, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Mar 29, 2017

Fixes #8209.

Slightly easier reviewing with https://github.com/mozilla/pdf.js/pull/8210/files?w=1.

A note for the reviewer: Given that the issue can be intermittent, since it depends on the renderingState of the page(s) when cleanup is triggered, reproducing the issue and then verifying the patch can take a couple of tries (at least it did for me).
In order to speed up this process, my recommendation is to test locally both with and without the patch, with the CLEANUP_TIMEOUT set to e.g. 300 (or similar) since that makes the problem occur much quicker.

…at in `PDFPageView.reset` to ensure that the entire `zoomLayer` is actually removed (issue 8209)
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/b29e34824efa5ca/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/b29e34824efa5ca/output.txt

Total script time: 2.72 mins

Published

@timvandermeij timvandermeij merged commit 57d9a64 into mozilla:master Mar 30, 2017
@timvandermeij
Copy link
Contributor

Thank you for the fix!

@Snuffleupagus Snuffleupagus deleted the issue-8209 branch March 31, 2017 08:06
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Refactor removing of the `zoomLayer` into a helper method, and use that in `PDFPageView.reset` to ensure that the entire `zoomLayer` is actually removed (issue 8209)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants