Exclude some file-types totally…

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

User avatar
Clo
XnThusiast
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,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

I support this proposal.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
Guest

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.
Guest

Post by Guest »

I like this idea too...
User avatar
helmut
Posts: 8705
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.