64-bit Preview

Features wanted...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

klownboy wrote: 29 Aug 2020 00:05 Hi Filehero, I hope all is well. I don't have Office (any version) installed. To test the XYplorer previewing feature (preview64.exe), I think you just need to have some doc or docx files and make sure the tweak preview64=1 is set. In the last betas Don has set the default as preview64=0 so it uses 32bit handler as the first / default choice like in my case PDFxChange viewer for PDFs. As you can read from some of my earlier posts, for the most part preview64 worked fine for me other than the fact that PDF files would not stay selected when transitioning from a filtered to an unfiltered view.
Next beta you can quickly toggle the Preview64 key by this scripting command:

Code: Select all

preview64; //toggle
preview64 ""; //just show current state in status bar
preview64 0; //try 32-bit first, on failure fallback to 64-bit
preview64 1; //try 64-bit only (fallback not implemented)

//you can as well set the fallback flag in the second argument
preview64 0, 1; //try 32-bit first, on failure fallback to 64-bit
preview64 0, 0; //try 32-bit first, no fallback to 64-bit
These setting are rememebered between sessions.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

jupe wrote: 29 Aug 2020 02:40 I just wanted to confirm something with you Don, you have only been mentioning Office files in relation to Preview64, but this new capability has had a dramatic effect on Video/Audio preview. and I assume other things.
Ah, thanks. I could reproduce it. I think it was a side effect of fixing the Font preview for Dark Mode. I had learned to set the text color for those previews, but it now it looks like certain other file formats will crash when you try to set the text color for them. We learn every day...

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: 64-bit Preview

Post by klownboy »

Don, with beta 21.00.0003, I set Preview64=1 and PreviewFallback=1 in the ini file and I'm not experiencing the focus issue with PDF files we discussed earlier viewtopic.php?f=5&t=22024&start=45#p180009. It seems to have flown the coop. The PDF files are staying selected now when jumping in an out of the Office filter. Since it's on 32 bit fallback I'm not sure if or when it falls back, but set to 64 as the default with 32 fallback is working.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Cool. :D

Actually I would like to show somewhere which bitness the current preview has, but I did not have a good idea how/where...

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: 64-bit Preview

Post by klownboy »

admin wrote: 04 Sep 2020 17:13 I would like to show somewhere which bitness the current preview has
That would be informative. It's not necessarily something that you have to see without any intervention, but maybe on right click of something like the status bar, preview pane, or even the preview pane button. Though some users may not have the Preview Pane button displayed on their toolbar.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: 64-bit Preview

Post by insight »

highend wrote: 26 Aug 2020 12:59 Word 2019 x64 (not the full Office suite), Sumatra x32 preview handler.

It works fine atm, switching between two .doc, .pdf files via type stats and filter but it lead to a closing XYplorer (no crash window) the first time I've tried v0907. Can't reproduce it since...
I just installed PDF X Viewer Free 32/64 composite .exe Setup for PDFs. Seems to be working.

I'd like to do the same for ePub, Mobi etc. (I've used Sumatra independently before on another PC for epubs - for XY does it need the 32 bit one or the 64 bit can work using this "mod" wrapper)?

Also similar Q for other common docus; office, excel, ppt etc.

highend
Posts: 13275
Joined: 06 Feb 2011 00:33

Re: 64-bit Preview

Post by highend »

The 64-bit versions (Sumatra / Office e.g. 2019) work fine installed as x64.

It might be necessary to install the x64 version from here (https://mega.nz/folder/WwIiFDyZ#eA2g4lws9YNOuEI0a9Dkpw)
to be able to preview .epub / .mobi...
Belonging thread: https://forum.sumatrapdfreader.org/t/eb ... dows/505/4
One of my scripts helped you out? Please donate via Paypal

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: 64-bit Preview

Post by insight »

highend wrote: 24 Mar 2021 14:25 The 64-bit versions (Sumatra / Office e.g. 2019) work fine installed as x64.

It might be necessary to install the x64 version from here (https://mega.nz/folder/WwIiFDyZ#eA2g4lws9YNOuEI0a9Dkpw)
to be able to preview .epub / .mobi...
Belonging thread: https://forum.sumatrapdfreader.org/t/eb ... dows/505/4
Thanks. This makes more sense :D. Will try this out.

Will its installation auto replace the PDF Preview link within XY with PDF X Chg Vwr?

Ideally would just like to do non PDFs, unless Su PDF preview is better than P X C Vwr?

Thoughts?

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: 64-bit Preview

Post by insight »

highend wrote: 24 Mar 2021 14:25 The 64-bit versions (Sumatra / Office e.g. 2019) work fine installed as x64.

It might be necessary to install the x64 version from here (https://mega.nz/folder/WwIiFDyZ#eA2g4lws9YNOuEI0a9Dkpw)
to be able to preview .epub / .mobi...
Belonging thread: https://forum.sumatrapdfreader.org/t/eb ... dows/505/4
Also, would this be affected if I am on Win 8.1 64 bit with XY 20.90.100?

Trying not to move too many pieces and break whats working :D

Post Reply