Search by categories in the search box

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

lordscales91
Posts: 2
Joined: Sat Sep 23, 2023 8:00 am

Search by categories in the search box

Post by lordscales91 »

Hi there! I've been playing around with this software and it's great. However, there's one feature that I'm missing (maybe it's there and I just can't find it). From what I could see, there's a quick search box and an advanced search, but the text you type in there is only used to match file names, which is great if you know the file name of the image you are looking beforehand, but that's not my use case. That's why I'm using categories to organize my images. You can use the left side panel to filter by categories, but you have to scroll all the way through to find the categories you want, which can become a pain in the ass once you have hundreds of them.

Would it be possible to add some toggle that when activated makes the text in the search box be interpreted as categories separated by comma (or some other separator)?
User avatar
michel038
XnThusiast
Posts: 1381
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Search by categories in the search box

Post by michel038 »

In Settings > Browser > Quick search, you can enable categories search :D
philalethia
Banned
Posts: 139
Joined: Tue Aug 01, 2023 10:20 am

Re: Search by categories in the search box

Post by philalethia »

michel038 wrote: Sat Sep 23, 2023 11:35 am In Settings > Browser > Quick search, you can enable categories search :D
...except that you only get a few of the images, with the relevant categories, in the results.
As seen here:
Quick Search within categories

Also, it's Quick Filter.
Not Quick Search.
As it is clearly a filter, and by no means a search.
lordscales91
Posts: 2
Joined: Sat Sep 23, 2023 8:00 am

Re: Search by categories in the search box

Post by lordscales91 »

michel038 wrote: Sat Sep 23, 2023 11:35 am In Settings > Browser > Quick search, you can enable categories search :D
Oh! That's indeed a nice feature. However, I can't search by multiple categories, it will search by any category that contains the text. So I can't search for example images with the categories "hatsune miku" and "bikini". Ideally, I would like to type a comma (or some other separator) to search for images containing multiple categories.
philalethia
Banned
Posts: 139
Joined: Tue Aug 01, 2023 10:20 am

Re: Search by categories in the search box

Post by philalethia »

It filtering any file that contains the text (not allowing to filter by a specific text, as many other programs/sites allow, by using "" ...though " is allowed in category-names, which complicates things. Still, there are ways around such issues...), is a bit annoying, as well as the fact that it searches for the text in either categories or filenames, even if you just want to filter for one, but as it is a "quick" filter, that can be somewhat forgiven. (though you could solve it, in ways that wouldn't make it less "quick" or simple, most of the time)

...but the fact that it doesn't show all files that match, is a serious issue.
Not letting you search for multiple categories, is also a problem.
...and when filtering according to filename, you can't search for, e.g., ".png" in the filename. (instead, you get any file, where "png" occurs in the name, even if it isn't after a period)

Either way, allowing one to search, within the "Catalog Filter"-panel, and making it easier to select multiple categories in the panel, would be a superior solution, IMO.