Exclude some file-types totally…

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

User avatar
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Exclude some file-types totally…

Post by Clo »

:arrow: Pierre

:) Hello Pierre!

- That topic is related to this issue.
• Like you can see in the aforesaid thread, the options to disable *.pdf are not quite satisfactory currently.
- So, I thought that you could add an INI variable entry, allowing to disable totally any file-type in the style :
————————— DisplayedFileTypes = *.*|*.pdf *.xyz
where the extensions set at the right side of the "pipe" (vertical bar) | are totally excluded in all modes.
- This is must shorter than a line giving the allowed extensions ;)
- That works like this in Total Commander for all features where files-types can / must / be stated with exclusions…
- In the practice, either an option could write the excluded types, or the user just edits the file <xnview.ini> and adds the excluded type(s) by hand, while XnView is closed…
:| Saving the settings in the Windows Register needs an Option, I suppose… Personally, I much prefer an old good INI file, more flexible, and not so heavy to load with the machines we run nowadays (my INI file is 8.9 KB, a drop of water in the sea…)

:mrgreen: Kind regards,
Old user ON SELECTIVE STRIKE till further notice
Posts: 2540
Joined: Tue Feb 17, 2004 1:11 am
Location: Cabarlah, Australia

Post by ckit »

I support this proposal.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX 6600XT with Dell U2520D at 2560x1440@60Hz
PhotoFiltre 11, Vivaldi Browser 5.7, Windows 11 Pro x64 22H2 + Snipping Tool, XnViewMP 1.4.3 and XYplorer

Post by Guest »

This is my main problem with the app. I don't want it to view anything but images when I'm scrolling through a directory with the mouse wheel, for example.

Post by Guest »

I like this idea too...
User avatar
Posts: 8696
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

I also think that in the area of exluding files more flexibility is needed. Perhaps rather than having an inclusion list an exclusion list should be specifiable.

The single line approach ("*.pdf|*.avi") with file types is compact and still clear, a drop down list with predefined patterns and/or a history of the last recent used patterns might be good and helpful.