[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another possible gb.poppler bug?
[Thread Prev] | [Thread Next]
- Subject: Re: Another possible gb.poppler bug?
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Tue, 2 Dec 2025 17:26:58 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 02.12.25 um 12:41 schrieb Gianluigi:
You may not remember, but Hans also involved me in the PDF editor project.Did you see the video?Have you tried opening a file of more than 1,000 pages with the PDF-Reader project?Does it seem to work like Atril or similar programs?Also, PDF-Rider doesn't seem to work, it seems to freeze, and in some cases (out of memory) it doesn't even close the Open window.Then it opens, but then...
Hi Gianluigi I have seen the video and it didn't surprise me.It goes without saying that rendering takes time and if there are no thumbnails and the number of pages is high then it takes plenty of time. What makes you think that the rendering is the brake in a Gambas PDF viewer? There are other controls that eat a lot of processing time as well. Further you can hardly compare mature PDF viewers with a Gambas PDF viewer without considering the differences in the programming languages.
Have you ever loaded a huge PDF with Okular? Sometimes it takes an eternity to display it.
This thread is purely based on the assumption, that most PDFs contain thumbnails and that they are displayed by the standard PDF viewers. No proof has been provided yet, that this assumption is correct.
I am assuming the opposite! Almost all PDFs I ever came across didn't have embedded thumbnails.
I came to this conclusion because I tested it. This required a side trip back into the Windows world and to Adobe Acrobat. I took a PDF generated with LibreOffice (having no thumbnails) and added thumbnails to it with Adobe Acrobat. Now I had two versions of the same PDF - one with and one without thumbnails. When I loaded the self-made PDF with thumbnails in my Gambas PDF Viewer the embedded thumbnails were found and displayed. As expected the loading was faster and I noted that the embedded thumbnails look totally different than the self rendered ones - which was no surprise.
Have a look by yourself. I loaded both PDFs up into my cloud: https://magentacloud.de/s/4TJeHaqcgQbNKri
and included screenshots of my Gambas PDF viewer, so that you can see the difference (with/without thumbnails) yourself.
Is there a way to provide me with the 1000-pages PDF shown in the video? This would allow me to compare the solution of gbWilly with my own and to search for possible brakes in our apps.
Best regards, Claus
| Re: Another possible gb.poppler bug? | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Lee <t.lee.davidson@xxxxxxxxx> |
| Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Gianluigi <gradobag@xxxxxxxxxxx> |