Page 1 of 3
Problem viewing PDF in the preview pane
Posted: 04 Oct 2017 00:31
by julietgolf
When I select a pdf file, the preview pane shows a mess of garbled ASCII text rather than a render of the pdf file. Does anyone know how I can get it to display pdfs properly? It used to work but stopped working once I reinstalled XYplorer.
Thanks!
Re: Problem viewing PDF in the preview pane
Posted: 04 Oct 2017 02:02
by highend
When you type
in the address bar and hit enter
afterwards, does the preview work
in that new XYplorer instance?
Re: Problem viewing PDF in the preview pane
Posted: 05 Oct 2017 23:11
by julietgolf
Preview pane says: "Cannot Preview." .....(!!)
Re: Problem viewing PDF in the preview pane
Posted: 06 Oct 2017 08:33
by highend
Show the output of this little script (you can paste it into the address bar and hit enter afterwards):
Code: Select all
text get("PreviewHandler", "pdf");
Re: Problem viewing PDF in the preview pane
Posted: 06 Oct 2017 17:22
by julietgolf
it's blank....
(thanks for taking the time to reply, btw - really appreciate it)
Re: Problem viewing PDF in the preview pane
Posted: 06 Oct 2017 18:04
by highend
You don't have a 32-bit preview handler installed...
To solve this, use e.g. this:
viewtopic.php?f=3&t=15910
Re: Problem viewing PDF in the preview pane
Posted: 07 Oct 2017 01:10
by julietgolf
Thanks so much for that. Followed the instructions but doesn't seem to work still.... I'll try again.
Re: Problem viewing PDF in the preview pane
Posted: 07 Oct 2017 01:11
by julietgolf
Your text get("PreviewHandler", "pdf"); Script outputs the following:
GUID: {CF822AB4-6DB5-4FDA-BC28-E61DF36D2583}
DefaultName: PDF-XChange PDF Preview Provider
DisplayName: PDF-XChange PDF Preview Provider
Re: Problem viewing PDF in the preview pane
Posted: 07 Oct 2017 06:53
by highend
And you are sure you don't have an entry like
in ANY other category (e.g. "Text Files") than
"Office Files" (the only place where it belongs!)
under: Configuration - Preview - Previewed Formats?
Additionally, you're using a 64-bit OS, right?
Re: Problem viewing PDF in the preview pane
Posted: 07 Oct 2017 13:00
by klownboy
I had the exact same problem. This may sound strange, but if you have an entry for pdf files under the 'text' format or 'image' formats in Tools | Configuration |Previewed Formats, instead of simply unchecking those entries, delete the entries such that the only entry you have have pdf files is under Office Files. Save and restart and check that preview pane works properly. If that works for you too, possibly that's a sign of a bug.
Re: Problem viewing PDF in the preview pane
Posted: 07 Oct 2017 16:48
by julietgolf
@highend, I do have such an entry. And yes, I am using a 64bit OS
@klownboy, cool. Will definitely try that!
Re: Problem viewing PDF in the preview pane
Posted: 08 Oct 2017 13:33
by julietgolf
OMG that worked.
On hindsight, it's pretty obvious, but not without first knowing how the file assocations work.
It turns out that pdf appeared under both the text files and office files "previewed formats".
I thought the bottom half of that menu setting page was the same for all formats (in fact, i stupidly didn't think that the top and bottom lists were linked).
But now that i deleted pdf from the text files "previewed formats", it works. So XYPlorer was treating pdfs as a text file and chucking out ASCII characters.
Thanks so much for your help, guys.
Re: Problem viewing PDF in the preview pane
Posted: 09 Oct 2017 11:33
by admin
julietgolf wrote:It turns out that pdf appeared under both the text files and office files "previewed formats".
I thought the bottom half of that menu setting page was the same for all formats (in fact, i stupidly didn't think that the top and bottom lists were linked).
You are not the first. I really need to rethink this interface...
Re: Problem viewing PDF in the preview pane
Posted: 09 Oct 2017 14:12
by klownboy
Don the initial problem reported in this thread was not having pdf files to display properly in preview pane even though they display fine in Floating and Full Screen previews. I had this problem as well as julietgolf. In addition to the interface issue, I think a major issue is: un-checking the 'pdf' extension in Text file category in itself did not 'fix' the problem. I had to go one step further and actually delete the 'pdf' file entry in the text file category to correct the problem and have pdf files display properly in a Preview Pane. To me that doesn't seem right. Shouldn't unchecking the pdf files in the text category alone be sufficient? Thanks.
Re: Problem viewing PDF in the preview pane
Posted: 09 Oct 2017 14:24
by admin
You are right, something is wrong here.
