Preview of .pdf in Everything

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Preview of .pdf in Everything

Post by therube »

Preview (Alt+P) of a .pdf file in Everything - works, displays a "preview" of the pdf.
Why?

Is that something of Everything's doing?
Or is there something on my end (Win7) that allows it?
If so, what?

Windows Explore itself (on my end) does not show a "preview" (I don't think).
(And actually, what Everything shows is not a "preview", but the document itself.)


I do have Foxit Reader running (but see nothing in there that would relate).
I do have Sumatra PDF, but not running (& I don't think it has anything that relates?).
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .pdf in Everything

Post by void »

Please check the debug output for how the preview handler is found:
  • In Everything 1.5, make sure nothing is selected.
  • From the Tools menu, under the Debug submenu, click Start Debug Logging...
  • Please make sure the preview pane is visible (Alt + P)
  • Select your PDF.
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging...
    ---This will open your Everything Debug Log.txt in Notepad.
  • Look for the following lines in this debug log:
    • got preview handler from
    • got preview CLSID:


Please check the following advanced settings:
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Preview of .pdf in Everything

Post by therube »

Ah, so it is Foxit.

Code: Select all

2024-07-01 10:34:58.154: show_preview_handlers 1
2024-07-01 10:34:58.181: got preview handler from ext
2024-07-01 10:34:58.181: got preview handler from ext \\NAS\OFFICE\COPY\USR\NEIL\Letters\Milwaukee Winter 2019 Cordless Catalog.pdf 1
2024-07-01 10:34:58.181: got preview CLSID: {ffbd7029-84d7-4e1e-be44-b6619bc545ed}
2024-07-01 10:34:58.217: got preview handler 0.035809 seconds
2024-07-01 10:34:58.219: got iws
2024-07-01 10:34:58.220: got stream
2024-07-01 10:35:00.031: iws initialized
2024-07-01 10:35:00.036: setup 0.000162 seconds
2024-07-01 10:35:00.163: DoPreview ok
2024-07-01 10:35:00.163: DoPreview ok: 1, 0.127046 seconds
2024-07-01 10:35:00.163: setsite
2024-07-01 10:35:00.164: loaded preview in 1.947015 seconds
2024-07-01 10:35:03.878: SYSCOMMAND 0000f095 00240324
2024-07-01 10:35:06.213: COMMAND 40210

This, The file cannot be previewed because there is no previewer installed for it in Outlook, talks about 2 .dll & 1 .exe. I have 1 .dll only (but then I'm using an old version of Foxit).
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Preview of .pdf in Everything

Post by horst.epp »

There is a separate preview handler for Foxit which works fine for me with all programs, including Everything.
but it has one drawback.
All files it previews are first copied into users temp dir.
If you already have SumatraPDF, install it with its preview module.
This is one of the best PDF previewer.
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Preview of .pdf in Everything

Post by therube »

(I'm not particularly wanting it to work.
I was only surprised that it did, given that I wasn't aware that I did anything to make it work.)
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Preview of .pdf in Everything

Post by horst.epp »

therube wrote: Mon Jul 01, 2024 4:58 pm I was only surprised that it did, given that I wasn't aware that I did anything to make it work.)
You should not be surprised if installed software is working :)
Everything uses any OS configured preview module by default.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .pdf in Everything

Post by void »

Thanks for the logs therube,
2024-07-01 10:34:58.181: got preview handler from ext
This is an older version of Everything 1.5.
The latest versions will show detailed information where the preview CLSID was found from the exact registry key.

I wonder why it works in Everything and not Windows Explorer?
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Preview of .pdf in Everything

Post by therube »

This is an older version of Everything 1.5.
Yeah, I happened to have a 1367 open when I ran it.
I wonder why it works in Everything and not Windows Explorer?
Probably something to do with, Thumbnails, what is needed to display?


1383:

Code: Select all

2024-07-02 10:44:45.371: COMMAND 40055
2024-07-02 10:44:45.371: show_preview_handlers 1
2024-07-02 10:44:45.408: got preview handler from key: .pdf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}
2024-07-02 10:44:45.408: got preview CLSID: {ffbd7029-84d7-4e1e-be44-b6619bc545ed}
2024-07-02 10:44:45.445: setsite
2024-07-02 10:44:45.445: got preview handler 0.037117 seconds
2024-07-02 10:44:45.446: got iws
2024-07-02 10:44:45.446: got stream
2024-07-02 10:44:47.215: iws initialized
2024-07-02 10:44:47.216: setup 0.000088 seconds
2024-07-02 10:44:47.338: DoPreview ok
2024-07-02 10:44:47.338: DoPreview ok: 1, 0.122613 seconds
2024-07-02 10:44:47.338: loaded preview in 1.893386 seconds
2024-07-02 10:44:47.909: CreateFileW(): 3: Failed to open file W:
2024-07-02 10:44:47.909: RDC W:  3
2024-07-02 10:44:49.215: SYSCOMMAND 0000f095 009302ec
2024-07-02 10:44:52.700: COMMAND 40210
foxit: PDF Preview Handler Not Showing In File Explorer
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .pdf in Everything

Post by void »

Thanks for the logs therube,
2024-07-02 10:44:45.408: got preview handler from key: .pdf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}
Everything should be showing the preview (as it does)
Are you using the x86 version of Everything? -maybe the x86 preview handler is registered?
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Preview of .pdf in Everything

Post by therube »

Are you using the x86 version of Everything?
Yes.

Code: Select all

REGEDIT4

[HKEY_CLASSES_ROOT\.pdf\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{FFBD7029-84D7-4E1E-BE44-B6619BC545ED}"
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .pdf in Everything

Post by void »

That is the registry key that defines the PDF preview handler.

Are you using an x64 Windows OS?
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Preview of .pdf in Everything

Post by therube »

Win7 x64.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .pdf in Everything

Post by void »

My guess is the Foxit preview handler is only working from x86 processes.

Windows Explorer will be x64.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Preview of .pdf in Everything

Post by horst.epp »

void wrote: Thu Jul 04, 2024 9:50 pm My guess is the Foxit preview handler is only working from x86 processes.

Windows Explorer will be x64.
Even my old stand-alone Foxit preview handler works fine in Windows 11
also with Everything x64 and file managers like Total Commander and XYplorer.
Post Reply