- Posts: 2
- Thank you received: 0
Help and support for Windows users.
Stuck loading previous pages of pdf files
- Matt99
- Topic Author
- Offline
- New Member
-
Less
More
9 years 7 months ago #3029
by Matt99
Stuck loading previous pages of pdf files was created by Matt99
I open a previously read pdf and get taken to the last page I was on perfectly fine, however when I then try and go back a page it gets stuck loading but never actually loads. From testing I'm pretty sure this only happens with pdf files.
Anyone else had this problem or know any possible solutions? So far I've tried lower the performance slider, disabling hardware acceleration and downloading the angle version of yacreader, all to no success.
Alternatively does anyone know a way to batch convert pdf to cbz or cbr losslessly?
Anyone else had this problem or know any possible solutions? So far I've tried lower the performance slider, disabling hardware acceleration and downloading the angle version of yacreader, all to no success.
Alternatively does anyone know a way to batch convert pdf to cbz or cbr losslessly?
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
9 years 7 months ago #3030
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic Stuck loading previous pages of pdf files
Hi Matt,
this behaviour is a by-product of the way we're opening files in YACReader. To put it simple, when YACReader opens a comic it first loads the last page you were reading into memory and it continues from there to the end of the comic file, then continueing from the first page to the page you're reading.
The reason you seem to get "stuck" on the pdf file is that the pdf rendering engine we're currently shipping (poppler 0.20 if I'm not mistaken) is quite old and doesn't render pdf pages very fast. So you have to wait...
We are currently running some tests with a faster pdf rendering engine (pdfium) so this issue will probably go from a major problem to a smaller nuisance in the next version of YACReader. To truly get rid of it we would need to change the way we're currently managing pdf pages in-memory from prerendered pages to on-demand rendering.
this behaviour is a by-product of the way we're opening files in YACReader. To put it simple, when YACReader opens a comic it first loads the last page you were reading into memory and it continues from there to the end of the comic file, then continueing from the first page to the page you're reading.
The reason you seem to get "stuck" on the pdf file is that the pdf rendering engine we're currently shipping (poppler 0.20 if I'm not mistaken) is quite old and doesn't render pdf pages very fast. So you have to wait...
We are currently running some tests with a faster pdf rendering engine (pdfium) so this issue will probably go from a major problem to a smaller nuisance in the next version of YACReader. To truly get rid of it we would need to change the way we're currently managing pdf pages in-memory from prerendered pages to on-demand rendering.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
- Matt99
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 7 months ago #3031
by Matt99
Replied by Matt99 on topic Stuck loading previous pages of pdf files
Well thanks for telling me. Right now I'm using a workaround of opening the documents going back a few pages closing it and re-opening it and that seems to be working pretty well.
Please Log in or Create an account to join the conversation.
Moderators: Luis Ángel