PDFViewerFX
PDFViewerFX copied to clipboard
PDFs not shown with second PDFViewer
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
I have the same issue, this is not specific to you!
Reusing the same PDFDisplayer seems to fix the issue (?)