Office file previews do not take up full pane

Things you’d like to miss in the future...
Post Reply
ghostwheel
Posts: 6
Joined: 25 Sep 2021 22:39

Office file previews do not take up full pane

Post by ghostwheel »

When I use the preview pane on the right to preview some office files, such as Excel files (.xlsx) Powerpoint files (.pptx) not the whole area of the pane is used. Word files work ok. If I resize pane or window, then the preview will take up the whole area, but as soon as I chose another excel file, preview will again be the wrong size.

Here is the preview handler:

Code: Select all

GUID: {00020827-0000-0000-C000-000000000046}
DefaultName: Microsoft Excel previewer
DisplayName: @C:\Program Files\Microsoft Office\Root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\oregres.dll,-403
Attachments
Screenshot 2021-09-25 144540.png
Screenshot 2021-09-25 144540.png (126.73 KiB) Viewed 940 times

ghostwheel
Posts: 6
Joined: 25 Sep 2021 22:39

Re: Office file previews do not take up full pane

Post by ghostwheel »

Oh, fixed by unticking "use 64-bit preview handlers" in other->shell integration. Strange. BTW: why isn't this item in preview?

ghostwheel
Posts: 6
Joined: 25 Sep 2021 22:39

Re: Office file previews do not take up full pane

Post by ghostwheel »

But sadly, PDF preview fails if I untick the 64-bit preview. So, I'll leave it ticked. I prefer to have the small preview to not being able to preview PDFs.
Though I prefer well working previews to both options :wink:

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

Re: Office file previews do not take up full pane

Post by admin »

Hi, check out this:

Code: Select all

v22.20.0201 - 2021-09-09 12:00
    + User-defined Preview Handlers: Now you can force the bitness (32 or 64) of 
      the process that attempts to employ the preview handler. This is useful if 
      you know that the handler only exists in a particular bitness, so trying the 
      other bitness would just be a waste of time and energy.
      Another advantage is that this setting overrides the global settings "Use 
      64-bit preview handlers for preview" and "Fall back to preview handlers of 
      the other bitness" so that you have finer control over the bitness now.
      Fictitious examples:
        ------------------------------------------------------------------------
        Pattern                                           Bitness
        ------------------------------------------------------------------------
        pdf>{CF822AB4-6DB5-4FDA-BC28-E61DF36D2583}        depends on global settings
        pdf>{CF822AB4-6DB5-4FDA-BC28-E61DF36D2583}>32     32 only
        pdf>{CF822AB4-6DB5-4FDA-BC28-E61DF36D2583}>64     64 only
        ------------------------------------------------------------------------
You are currently not using User-defined Preview Handlers for this preview. I will see whether I can add the same option also to the general preview...

PS: While the misaligned preview is being shown, please paste this line into the Address Bar and show what is returned:

Code: Select all

text get("previewhandler"); //while a preview is shown

ghostwheel
Posts: 6
Joined: 25 Sep 2021 22:39

Re: Office file previews do not take up full pane

Post by ghostwheel »

This is the response I got:

Code: Select all

Previewed Extension: xlsx
Preview Handler: Microsoft Excel previewer [64-bit]
Display Name: @C:\Program Files\Microsoft Office\Root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\oregres.dll,-403
GUID: {00020827-0000-0000-c000-000000000046}
Initialization: IInitializeWithFile

Choosing the bit handler seem to work on the latest beta. I'll play with it some more.

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

Re: Office file previews do not take up full pane

Post by admin »

Please try the latest beta and see if the alignment issue of the 64-bit preview is fixed: viewtopic.php?p=191134#p191134

Post Reply