No preview of pdf in lister

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

max
Junior Member
Junior Member
Posts: 10
Joined: 2004-01-17, 13:15 UTC

No preview of pdf in lister

Post by *max »

Hi,

the preview of pdf-files ("F3" and then "8") is not working on my computer, I'm only getting a message that a preview is not available. When I use the windows explorer the preview of pdf-files is working without any problems.
My system:
Windows 10 Pro 1909
PDF-XChange Editor Plus, Version 8.0, build 334.0
Total Commander 9.50 64bit

Regards
Micha
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: No preview of pdf in lister

Post by *Horst.Epp »

Confirmed for "F3" and then "8".
I don't need it as I use the lister plugin SLister with SumatraPDF for preview
but Windows Explorer and Everything are able to preview PDFs.
So TC makes something different ?
I also have PDF-XChange Editor Version 8.0 installed for editing PDFs.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
XuaLee
Junior Member
Junior Member
Posts: 46
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: No preview of pdf in lister

Post by *XuaLee »

Confirmed with PDF-XChange Editor Plus 8.0.336.0 (latest version) and TC 9.50 final (fresh/clean install), both 64-bit

Error message
"Vorschau nicht verfügbar:"
"Angefordertet Vorgang kann nicht ausgeführt werden."

(message probably generated by Windows - I've configured TC + PDF-XChange in English for test purposes...)
Windows 10 Pro 64bit 22H2 19045.4170 | Total Commander (x64) 11.03 #44961
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: No preview of pdf in lister

Post by *petermad »

I have testet with both "Adobe Acrobat Acrobat Reader DC" and "Windows Edge" associated with pdf files. If I press F3 - 8 in TC I just get a binary view of the file - and I get no error message.

When I press F3 HTMLView plugin is opened and uses Adobe Acrobat to show the file.

With a clean wincmd.ini file (hence no plugins) F3 - 8 has no effect - still uses binary view.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: No preview of pdf in lister

Post by *Usher »

2petermad
AFAIK Explorer view uses registered shell extension rather than program directly associated with file extension.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: No preview of pdf in lister

Post by *Ovg »

max wrote: 2020-02-06, 16:08 UTC the preview of pdf-files ("F3" and then "8") is not working on my computer, I'm only getting a message that a preview is not available. When I use the windows explorer the preview of pdf-files is working without any problems.
The same here ....

I get: "Preview isn't available:
Unable to perform requested operation."

Windows 7 x64 SP1
PDF-XChange PRO, Version 8.0, build 336.0
Total Commander 9.50 64bit
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: No preview of pdf in lister

Post by *petermad »

Usher wrote: 2020-02-07, 02:11 UTC 2petermad
AFAIK Explorer view uses registered shell extension rather than program directly associated with file extension.
Very likely - but the bottom line is that if I try to use Explorer Preview (8) on a .pdf file I get Binary (2) view - no error message - on any of my compoters

PS I don't have PDF-XChange PRO - I have Adobe Acrobat on one my Windows 10 machine and Foxit PhantomPDF on my windows 7 machine.

So apparanly the error message others report: "Preview isn't available: Unable to perform requested operation." must come from PDF-XChange.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: No preview of pdf in lister

Post by *Ovg »

I have tried with Adobe Acrobat and got the same result as petermad
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No preview of pdf in lister

Post by *ghisler(Author) »

I have installed Acrobat Reader and can confirm that it doesn't work. I was able to make it work in the 64-bit version, though. The problem was a missing implementation of the IStream->Stat function, which is called by the Adobe Reader viewer.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: No preview of pdf in lister

Post by *Usher »

I have installed SumatraPDF as default reader and shell extension. It works OK, and I'm pretty sure that Explorer view works with the shell extension - it runs SumatraPDF with predefined settings (white page background, gray window background, single page view, no toolbar, no bookmarks/table of content) which cannot be changed when viewing with F3 - 8. On the contrary, slister plugin calls SumatraPDF directly and all viewer features are available.

If Explorer view isn't available, Lister just displays automatic (binary in this case) view or whatever is set in Lister config, as @petermad has already mentioned.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
XuaLee
Junior Member
Junior Member
Posts: 46
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: No preview of pdf in lister

Post by *XuaLee »

2Horst.Epp
I have picked up your recommendation and I'm using sLister.wlx64 v1.1.2 now (instead of pdfview.wlx v1.09).
I just had to replace the included (not executable) SumatraPDF.exe with the latest version (v3.1.2)
Works great! THANKS! :D

2Usher
You're right. With PDF X-Change you can configure the Preview Handler (and other handlers) with XCShInfoSetup.exe *, installed in subfolder "Shell Extensions".
When activated, I'm getting the mentioned error, otherwise a (small+unresizeable) preview in lister (even with all handlers disabled in PDF-XC).
(strange: even when TC + PDF-XC is set to English I'm getting a german error message...)

I'm using the lister window rarely and also I don't need the Explorer preview there necessarily.
I prefer to view PDFs (and other files) inside of the TC main window via suitable plugin.
When required/useful, I'm starting the associated app with a double click.

However, it's "fascinating" for me that the preview via PDF-XC in Explorer + Everything is working without any problems...
I've spent some time for investigation and tests, but without any solution so far.

* https://www.dropbox.com/s/gbybm8oyq9hf87m/XCShInfoSetup.png?dl=0
Windows 10 Pro 64bit 22H2 19045.4170 | Total Commander (x64) 11.03 #44961
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: No preview of pdf in lister

Post by *Usher »

XuaLee wrote: 2020-02-07, 20:42 UTC(strange: even when TC + PDF-XC is set to English I'm getting a german error message...)
No, it's not strange at all. It's obvious for shell extension - (if possible) it uses the same language as the system itself.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: No preview of pdf in lister

Post by *Horst.Epp »

With TC version 9.50aRC1 the problem is fixed for me.
Explorer preview of PDFs works as expected.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
XuaLee
Junior Member
Junior Member
Posts: 46
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: No preview of pdf in lister

Post by *XuaLee »

TC 9.50aRC1 (64/32): fix confirmed.
Explorer preview works optimally now! :D
(with PDF-XChange Editor Plus 8.0.336.0 64-bit)
THX!
Windows 10 Pro 64bit 22H2 19045.4170 | Total Commander (x64) 11.03 #44961
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: No preview of pdf in lister

Post by *Ovg »

For me working fine now! :D :thumbsup: (with PDF-XChange Editor Plus 8.0.336.0 64-bit)
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Post Reply