Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

PDFs not shown with second PDFViewer #12

Open
stephansann opened this issue Mar 3, 2021 · 1 comment
Open

PDFs not shown with second PDFViewer #12

stephansann opened this issue Mar 3, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@stephansann
Copy link

Hi

First of all thanks for the good work with PDFViewer!

I included it in my own project:
https://github.com/Document-Archiver/com.sophisticatedapps.archiving.document-archiver

With the DocumentArchiver you can archive different kind of Documents into an archive folder in a structured way.

Anyhow I found when I open a folder with multiple PDFs, the first PDF will be displayed fine. However when I switch to another PDF, it is often not displayed (often, but not always).

With every switch to another PDF-Document I create a new PDFDisplayer, so there should normally not be a problem!?
Or would it be better to re-use an existing one?

What I see are warnings regarding a fake worker:

Warning: Setting up fake worker.
PDF 0691a0dceee7822731d570f7dbd6636b [1.4 Brother Scanner System Image Conversion / Brother Scanner System : MFC-L8690CDW series] (PDF.js: 2.6.347)
Warning: Setting up fake worker.

Any idea?

Thanks and best regards
Stephan

@romainhedouin
Copy link

I have the same issue, this is not specific to you!

Reusing the same PDFDisplayer seems to fix the issue (?)

@Dansoftowner Dansoftowner added the bug Something isn't working label Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants