Page 1 of 1

Office file previews do not take up full pane

Posted: 25 Sep 2021 22:50
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

Re: Office file previews do not take up full pane

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

Re: Office file previews do not take up full pane

Posted: 25 Sep 2021 23:33
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:

Re: Office file previews do not take up full pane

Posted: 26 Sep 2021 08:49
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

Re: Office file previews do not take up full pane

Posted: 27 Sep 2021 01:37
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.

Re: Office file previews do not take up full pane

Posted: 27 Sep 2021 15:01
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