[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: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 2 Dec 2025 11:25:30 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 12/2/25 10:55 AM, gbWilly wrote:
So, in other pdfviewers they are fully rendered during the opening the file.
Not necessarily. As I reported in another message, one particular PDF I viewed with Okular did not render the thumbnail until it was scrolled into view.
Now, I can play a bit with when I render, to ensure the document is shown, before starting rendering the thumbs. But during rendering, even a timer object doesn't trigger, as the whole application seems to be caught up in the rendering. So showing the document first, gives some visible comfort to the user, but you can't do shit until the rendering is finished.
You could determine if the document has embedded thumbnails, when it is loaded, by testing if a thumbnail for the first page is found. If thumbnails are not embedded and self-rendering is needed, you could:
Load up a generic, lightweight thumbnail for each page and then use IconView's Draw event to render an appropriate thumbnail, or Use Tasks to generate the thumbnails. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
| Re: Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Another possible gb.poppler bug? | gbWilly <gbWilly@xxxxxxxxxxxxxx> |