Text preview

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kuiwu_cn

Text preview

Post by kuiwu_cn »

This is my configuration, please look at the picture. Why can EXE files and RAR files be previewed? I didn't add "*.vmx" format. Why can I preview it?

I don't need a preview of EXE files and RAR files.
snap_screen_20180403110706.png
snap_screen_20180403110706.png (76.48 KiB) Viewed 997 times
snap_screen_20180403110823.png
snap_screen_20180403110823.png (88.32 KiB) Viewed 997 times
snap_screen_20180403110856.png
snap_screen_20180403110856.png (92.94 KiB) Viewed 997 times
snap_screen_20180403110930.png
snap_screen_20180403110930.png (62.91 KiB) Viewed 997 times

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Text preview

Post by highend »

Every file type that is not in one of the predefined standard preview categories will
be previewed if you select / click it. XY just tries to detect if this is a binary or text format
and either display a raw preview (here: your .exe / .rar) or a text preview (your .vmx)

If you don't need a preview why are you clicking on those files when the preview pane is open?

And if you want to disable it at the moment, you could add these filetypes to e.g. the "Text Files"
category in Configuration | Preview | Previewed Formats
and remove their checkmark...

@Don
Maybe it makes sense to add a config option to just display a text (instead of a raw preview)
like "File type is not in the list of preview types, disabling preview..."
E.g.: [ ] Disable preview of not configured file types
One of my scripts helped you out? Please donate via Paypal

kuiwu_cn

Re: Text preview

Post by kuiwu_cn »

In my configuration file, I chose "Text Files" and "Image Files". Obviously, EXE is neither text nor image. RAR is neither text nor image. It's not text or image. Why do we preview it?

Sometimes, we accidentally click on EXE or RAR files.

According to your logic, I need to add EXE and RAR, and remove their checkmark, so that's OK. Where will the EXE be added? Added to "Text Files", it doesn't belong to text, added to "Office Files", it doesn't belong to Office and so on.

kuiwu_cn

Re: Text preview

Post by kuiwu_cn »

There may be many files in the list, including TXT files, BAT files, VMX files, EXE files, RAR files and so on.
When the preview pane is open, sometimes, we accidentally click on EXE or RAR files.

kuiwu_cn

Re: Text preview

Post by kuiwu_cn »

The concept of Office file is very clear to me. The concept of image file is also very clear to me. What is the concept of text file? I'm a little confused.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Text preview

Post by highend »

In my configuration file, I chose "Text Files" and "Image Files". Obviously, EXE is neither text nor image. RAR is neither text nor image. It's not text or image. Why do we preview it?
Read my previous posting again...
Where will the EXE be added?
The Text section is just fine
it doesn't belong to text
What does that mean, is that some kind of message you get?
What is the concept of text file? I'm a little confused
Filetypes that just consists of text without using any kind of markup?
One of my scripts helped you out? Please donate via Paypal

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

Re: Text preview

Post by admin »

highend wrote:@Don
Maybe it makes sense to add a config option to just display a text (instead of a raw preview)
like "File type is not in the list of preview types, disabling preview..."
E.g.: [ ] Disable preview of not configured file types
Maybe. No prio.

Post Reply