-
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
Begin drawing pages while still downloading data? #1375
Comments
Is this #1108?
That sounds like a good idea :) Want to make a pull request? |
Related, but not exactly, #1108 is about only requesting what you need, this would be about downloading the whole file eventually, but begin drawing as soon as there's enough info to draw the first page, not keep the loading progress until the end, and then begin drawing afterwards. Maybe the implementation would need to be shared, if drawing before it's done requires splitting the file into multiple requests... About the progressbar, I suppose it wouldn't be too complicated to do it, so I'll try in a bit. |
you're right - the difference is about downloading everything against downloading only parts. However, as much as I can think about it in pure theory without having done any implementation yet, there shouldn't be too much difference in the way this gets implemented. @gigaherz, it needs some more time to explain exactly why I think this is the case. If you want to understand what's going on, you have read #1108 and there are still open questions, I'm more then happy to get you up to speed on this issue. |
Hasn't this been tackled by #2719? |
Chunked rendering has also been implemented by #3461, so I guess we can close this, @brendandahl? |
yep, we can close this one |
I haven't seen any issue about this, but it would be an important feature to allow people to begin reading the PDF while it's still downloading. It's not uncommon for me to have multiple related PDFs and forget which one of them contains the text I'm looking for, and waiting for the PDF to complete donwloading before I can check if it's even the right one kills the mood.
Also, even if there's no clear UI design yet, it woudl be interesting to have a progressbar shown under the load %.
(and since I was bored, I wrote a class to implement a simple progressbar, lib-free: http://jsfiddle.net/3wmte/)
The text was updated successfully, but these errors were encountered: