Page 1 of 1

Intermittent error opening PDF files

Posted: Thu Dec 13, 2018 4:21 am
by Cracker
Trying to migrate from XnView classic to XnView MP 0.92, I'm stumbling with a problem with PDF files. I have the latest Ghostscript installed (9.26) and thumbnails of the PDF's show fine. Double-clicking on a thumbnail for the first time I get "File can't be loaded!" error, but then double-clicking a second (or third, fourth etc) time the file shows normally. Right arrow to the next PDF file works fine. Going back to the file viewer and clicking on a new thumbnail causes the error again.

The PDF files are located on NAS, but the problem still occurs when the files are moved locally.
Problem persists after changing from 64bit XnView MP & Ghostscript to 32 bit versions.
The "ignore read error" option from settings/interface/formats/PDF menu doesn't make a difference.
Same problem experienced with software installed on a different computer.
Most of my PDF files are created by a ScanSnap 1300 scanner, but the problem is experienced with other PDF files as well.
The same PDF files can be opened by XnView classic, Edge & SumatraPDF

Is this a a bug or have I just missed something? I couldn't find it being reported previously.

Re: Intermittent error opening PDF files

Posted: Thu Dec 13, 2018 1:20 pm
by xnview
do you double click before the thumbnail appears?

Re: Intermittent error opening PDF files

Posted: Thu Dec 13, 2018 9:47 pm
by Cracker
I double clicked before the thumbnail appeared the first time, but the problem still happens once all the thumbnails in the folder appear.

Thinking the issue might be due to a corrupt catalogue, I tried unchecking the "enable catalogue" checkbox. Another thing I tried was to delete and recreate cached directories before double clicking on a thumbnail. The intermittent "File can't be loaded!" error persisted in both cases.

Re: Intermittent error opening PDF files

Posted: Fri Dec 14, 2018 9:33 am
by xnview
is it possible to send me some PDF example files?

Re: Intermittent error opening PDF files

Posted: Fri Dec 14, 2018 10:32 am
by Cracker
PM sent.

Re: Intermittent error opening PDF files

Posted: Sat Dec 15, 2018 9:52 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Intermittent error opening PDF files

Posted: Sat Dec 15, 2018 10:53 am
by Cracker
Thanks very much for looking into the problem Pierre.

Re: Intermittent error opening PDF files

Posted: Thu Jan 31, 2019 1:50 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.93. Please check and confirm the bug fix here.

Re: Intermittent error opening PDF files

Posted: Fri Feb 01, 2019 12:24 am
by Cracker
I confirm the problem I was having opening PDF files has been resolved in the new version. Thanks for the fix.