Unable to uncheck preview format

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Unable to uncheck preview format

Post by binocular222 »

In config dialog, uncheck a preview format has no effect whatsoever i.e: .docx (even when I re-open the config dialog, it become checked again). So I'm looking for XYplorer.ini there's a section:

Code: Select all

NoPrevI=
NoPrevAV=
NoPrevHTML=.msg.svgz.
NoPrevText=.msg
NoPrevFont=
Which is the ini key for no preview Web&Office?

P.S Tested on ::fresh but still cannot untick those format and no ini key was generated for NoPrevWebOffice
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Unable to uncheck preview format

Post by bdeshi »

disabled Office exts go to NoPrevHTML (It's called "Web & Office Files" and probably all are previewed using IE)

But this is definitely not a feature :mrgreen:
binocular222 wrote:In config dialog, uncheck a preview format has no effect whatsoever i.e: .docx (even when I re-open the config dialog, it become checked again).
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Unable to uncheck preview format

Post by binocular222 »

Thanks.
btw, do you know the tweak right below it?

Code: Select all

SpecificIconsCustom=
ThumbFromIconCustom=
IFilterCustom=
ClosePreviewBeforeRename=
DropTargetCustomExtensions=
FullScreenCustomExtensions=
AudioMCICustomExtensions=
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Unable to uncheck preview format

Post by bdeshi »

Code: Select all

; try creating icon mode (large Icon/small icon) thumbnails from these extensions
; http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=10459&start=60#p94695
SpecificIconsCustom=
; Maybe: try to create *thumbnail mode* thumbnails from these extensions.
ThumbFromIconCustom=
;  (setting a bogus extension on ^ those ^ two keys and opening the preview pane initially tries to preview it as image)
; Make XY use IFilters for ONLY these extensions.
IFilterCustom=
; the preview pane will be deactivated before trying to rename these extensions
ClosePreviewBeforeRename=doc.docx.odt
; make XY think these extensions support drop-on-file.
DropTargetCustomExtensions=rar.7z
; Tweak to preview audio files in an alternative manner. This might help if XYplorer does not play MIDI files using the factory [changelog]
AudioMCICustomExtensions=mid
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Unable to uncheck preview format

Post by binocular222 »

Just toyed with this:

Code: Select all

DoPrevShell=.xlsx.
Info Panel: Shell failed to decode
Windows Explorer show correct preview of this file
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Unable to uncheck preview format

Post by bdeshi »

Maybe it's for thumbnails.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Unable to uncheck preview format

Post by TheQwerty »

I may be mistaken but I believe the DoPrevShell tweak is really only intended for images which the shell knows how to preview, and XY is expecting the shell to return an image for it to display.

It's likely that the shell returns non-image data for an XLSX and XY returns that error because the data does not look like an image.


Regarding the inability to untick docx I cannot reproduce that here.
I know you said the issue was also present in fresh but do you by chance have docx in the OfficePreviewCustomExtensions list?

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Unable to uncheck preview format

Post by binocular222 »

Strange, today, I can untick in ::fresh

btw, it does not make sense for .mp4 to be included in get("genericfiletype", "{:Audio}")
Should be in {:Video}
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Unable to uncheck preview format

Post by admin »

It's in both.

Post Reply