PDF Doesn't load/loads extremely slow
Reported by
aaron...@gmail.com,
Dec 11
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36 Example URL: https://s3-us-west-2.amazonaws.com/aaroncmcs/Mechanical_M-411.pdf Steps to reproduce the problem: 1. Open Link 2. Wait 3. Keep waiting, eventually try to interact What is the expected behavior? PDF should load -- takes about 5-6 seconds to render in Bluebeam. If Chrome is making progress, should show some kind of loading indicator -- since this process is taking minutes, this indicator should not be a plain spinner but some kind of %ile progress indicator. What went wrong? In Chrome : Loads after 5+ minutes, can't interact (zoom, scroll, etc) In FF: loads after ~15 seconds, can't interact in Edge: loads after 3-5 minutes, can't interact Does it occur on multiple sites: Yes Is it a problem with a plugin? Yes PDF Plugin Did this work before? No Does this work in other browsers? No Edge (44.17763.1.0), Firefox (60.3 esr) Chrome version: 71.0.3578.80 Channel: stable OS Version: 10.0 Flash Version:
,
Dec 11
On my 4GHz i7 it takes Chrome about a minute or two. Adobe Reader or SumatraPDF render it in one second.
,
Dec 11
aaronb94@ Thanks for the issue. As per the expected behavior, this is a feature request to show a %ile progress indicator while the pdf is loading. Hence marking this as Untriaged for further updates from Dev. Thanks..
,
Dec 11
I'd guess that since even once loaded the PDF doesn't really 'work' (can't zoom, can't scroll, etc) that the loading indicator is not sufficient. My guess is that the intended behavior would be, for a PDF the Chrome renderer can't handle for whatever reason, would be to display some kind of error -- the fact that it continues loading only misleads in that it'll be useable once it loads, which is in fact not the case. For the users of my application where this is a problem the preferred behavior for these files would be a prompt to download/open the file in their local PDF viewer, or to fix the Chromium PDF viewer to be able to handle these larger files.
,
Dec 12
Usually the bottleneck is the download speed and that's what the loading progress indicator is tied to. The PDF rendering code is generally fast enough, but this PDF in particular is extremely slow to render.
,
Dec 12
We need to see where the time is being spent in the Chromium PDF Viewer. It takes a very long time, and I didn't have the patience sit around and measure. OTOH, using "pdfium_test --png" to render the same PDF only takes 3 seconds in release mode and 12 second in debug mode here. |
||
►
Sign in to add a comment |
||
Comment 1 by vamshi.kommuri@chromium.org
, Dec 11