Dansoftowner / PDFViewerFX

A pdf viewer library for your javaFX application
Apache License 2.0
66 stars 24 forks source link

Toolbar icons are not displayed #15

Open kevits opened 3 years ago

kevits commented 3 years ago

Since version 0.7 the toolbar icons are not displayed. I can not figure out what the problem could be. Are there any tips how I could solve this problem? Is this a problem on my end or is this a bug within the library? I am using JavaFX 13.0.2 with Gradle.

Nevertheless, Thanks for the project! :)

Screenshots: image image

romainhedouin commented 3 years ago

I have this issue too...

Toolbar is kind of useless because of this so I turned it off until we get a fix: displayer.setVisibilityOf("toolbarContainer", false);

https://github.com/Dansoftowner/PDFViewerFX/discussions/14

Dansoftowner commented 3 years ago

I don't understand why is that happening. I tried it with Java 16 + JavaFX 16: image

Java 11 + JavaFX 11: image

And Java 8: image

So I couldn't reproduce the problem.

Dansoftowner commented 3 years ago

Regardless, I will update pdf.js and also give the ability to switch back to earlier versions.

Dansoftowner commented 3 years ago

Check out version 0.8 .

Now you can switch back to the previous pdf.js version, if you want:

PDFDisplayer displayer = new PDFDisplayer(PdfJSVersion._2_2_228);
Abu-Abdullah commented 3 years ago

im facing the same issue. installing Document Archiver is giving the same problem, it might be related to the OS. tested on Windows 10 Pro