Latest commit 426e26c Jun 22, 2017 @Snuffleupagus Snuffleupagus Don't use a hidden canvas when constructing the `zoomLayer` in `PDFPa…
…geView.update`

*This is an existing issue that I noticed while testing PR 8552.*

When zooming or rotation occurs, we'll try to use the current canvas as a (CSS transformed) preview until the page has been completely re-drawn.
If you manage to change the scale (or rotation) *very* quickly, it's possible that `PDFPageView.update` can be called *before* a previous `render` operation has progressed far enough to remove the `hidden` property from the canvas.

The result is thus that a page may be *entirely* black during zooming or rotation, which doesn't look very good. This effect can be a bit difficult to spot, but it does manifest even in the default viewer.
Permalink
..
Failed to load latest commit information.
images Add icons for the new "Select tool" button May 21, 2017
.gitignore Remove obselete file from .gitignore Jan 26, 2015
annotation_layer_builder.css Annotations: implement support for line annotations Apr 12, 2017
annotation_layer_builder.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
app.js Stop tracking the rotation in `PDFViewerApplication` and directly use… Jun 21, 2017
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" Aug 14, 2015
chromecom.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
compatibility.js Move compatibility code to the shared/compatibility.js. Feb 24, 2017
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website eas… Jul 5, 2011
debugger.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
default_preferences.json Unify handling of various cursor tools, e.g. the current Hand Tool an… May 21, 2017
dom_events.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
download_manager.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
firefox_print_service.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
firefoxcom.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
genericcom.js Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
genericl10n.js Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
grab_to_pan.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
interfaces.js Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
overlay_manager.js Convert the overlay manager to ES6 syntax May 28, 2017
password_prompt.js Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
pdf_attachment_viewer.js Removes last UMDs from the modules. May 31, 2017
pdf_cursor_tools.js Unify handling of various cursor tools, e.g. the current Hand Tool an… May 21, 2017
pdf_document_properties.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_find_bar.js Convert the find controller to ES6 syntax Jun 4, 2017
pdf_find_controller.js Convert the find controller to ES6 syntax Jun 4, 2017
pdf_history.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_link_service.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_outline_viewer.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_page_view.js Don't use a hidden canvas when constructing the `zoomLayer` in `PDFPa… Jun 22, 2017
pdf_presentation_mode.js Prevent console errors when clicking to change page while in Presenta… Jun 7, 2017
pdf_print_service.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_rendering_queue.js Convert the rendering queue to ES6 syntax Apr 27, 2017
pdf_sidebar.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
pdf_thumbnail_view.js Convert the thumbnail view to ES6 syntax Jun 4, 2017
pdf_thumbnail_viewer.js Convert the thumbnail viewer to ES6 syntax Jun 4, 2017
pdf_viewer.component.js Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
pdf_viewer.css Ensure canvas is really hidden when used with pdfjs-dist. Jun 20, 2017
pdf_viewer.js Remove `PDFPageView.updatePosition` since it's not actually necessary Jun 15, 2017
pdfjs.js Removes last UMDs from the modules. May 31, 2017
preferences.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
secondary_toolbar.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
text_layer_builder.css Use default line height for the text layer Dec 2, 2015
text_layer_builder.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
toolbar.js Convert the toolbar to ES6 syntax Jun 18, 2017
ui_utils.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
view_history.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017
viewer-snippet-chrome-extension.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
viewer-snippet-chrome-overlays.html Add translations of "Allow access to file URLs" Aug 14, 2015
viewer-snippet-firefox-extension.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
viewer-snippet-minified.html Remove XHTML leftovers from the viewer HTML files Feb 14, 2016
viewer-snippet.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
viewer.css Unify handling of various cursor tools, e.g. the current Hand Tool an… May 21, 2017
viewer.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. May 31, 2017
viewer.js Fix inconsistent spacing and trailing commas in objects in `web/` fil… Jun 1, 2017