1.9.0 - AND/OR quick filters work differently
Moderators: helmut, XnTriq, xnview, Dreamer
1.9.0 - AND/OR quick filters work differently
XnView: MP 1.8.8-1.9.0 64 bit
OS: Windows 64bit
I use quick filters to sort my photos a lot.
I noticed that adding + (and) and | (or) to filters works differently and inconsistently:
* no partial match with +
* no mixing different search sources like category and name
To reproduce:
1. Click Quick filter menu, select Search in Categories
2. Add multiple categories, eg "Cats" and "Dogs"
3. Create multiple images, eg image1.png, image2.jpg, image3.jpg
4. Assign categories:
- Cats -> image1.png
- Dogs -> image2.jpg
- Cats, Dogs -> image3.jpg
5. Search "cat+dog" in quick filter
Actual behaviour (bug): Nothing is found
Expected behaviour: image3.jpg is found
When I search "cat" or "cat|dog" (part of the category) I've got all the results I expect, but + filter doesn't respect partial match.
6. Search "cats+png"
Actual behaviour (bug): Nothing is found
Expected behaviour: image1.png is found
When I search "png" or "cats|png" (category with extension) I've got all the results I expect, but + filter doesn't work with different search sources.
OS: Windows 64bit
I use quick filters to sort my photos a lot.
I noticed that adding + (and) and | (or) to filters works differently and inconsistently:
* no partial match with +
* no mixing different search sources like category and name
To reproduce:
1. Click Quick filter menu, select Search in Categories
2. Add multiple categories, eg "Cats" and "Dogs"
3. Create multiple images, eg image1.png, image2.jpg, image3.jpg
4. Assign categories:
- Cats -> image1.png
- Dogs -> image2.jpg
- Cats, Dogs -> image3.jpg
5. Search "cat+dog" in quick filter
Actual behaviour (bug): Nothing is found
Expected behaviour: image3.jpg is found
When I search "cat" or "cat|dog" (part of the category) I've got all the results I expect, but + filter doesn't respect partial match.
6. Search "cats+png"
Actual behaviour (bug): Nothing is found
Expected behaviour: image1.png is found
When I search "png" or "cats|png" (category with extension) I've got all the results I expect, but + filter doesn't work with different search sources.
Re: 1.9.0 - AND/OR quick filters work differently
I've tried and it works correctly. 'Categories (catalog)' is enabled?
Pierre.
Re: 1.9.0 - AND/OR quick filters work differently
Screenshots:xnview wrote: Tue May 27, 2025 8:12 am I've tried and it works correctly. 'Categories (catalog)' is enabled?
1. 'Categories' option is enabled.
2. I search 'кот' and find jpg with two categories
3. I search 'кот+jpg' (category and format) and find nothing
4. I search 'кот+пес' (two categories) and find nothing
- Attachments
-
- 2025-05-27_10-17-54.png (60.66 KiB) Viewed 448 times
-
- 2025-05-27_10-17-41.png (60.67 KiB) Viewed 448 times
-
- 2025-05-27_10-17-29.jpg (327 KiB) Viewed 448 times
-
- 2025-05-27_10-15-32.png (13.2 KiB) Viewed 448 times
Re: 1.9.0 - AND/OR quick filters work differently
please send us some samples files to reproduce?
Pierre.
Re: 1.9.0 - AND/OR quick filters work differently
Here you go.
Categories are embedded into image.
- Attachments
-
- 1B9A4176_1_small.jpg (106.93 KiB) Viewed 428 times
Re: 1.9.0 - AND/OR quick filters work differently
This problem is supposed to be fixed in XnView MP 1.9.1. Please check and confirm the bug fix here.
Pierre.
Re: 1.9.0 - AND/OR quick filters work differently
Partially fixed (1.9.1 x64, Windows 10 x64).xnview wrote: Wed May 28, 2025 11:54 am This problem is supposed to be fixed in XnView MP 1.9.1. Please check and confirm the bug fix here.
Filter with two categories 'кот+пес' now works as intended.
Filter category and format 'кот+jpg' still finds nothing.
Re: 1.9.0 - AND/OR quick filters work differently
It surely is not.
But I find it extremely useful to search by multiple properties at the same time, since 'кот|jpg' works with category and format/name.
Eg I usually search for images with specific subject (category) which I have already edited (format jpg, not raw).
Re: 1.9.0 - AND/OR quick filters work differently
Checked, and it doesn't work.
Re: 1.9.0 - AND/OR quick filters work differently
ok im wrong, currently + can only be used on categories
Pierre.
Re: 1.9.0 - AND/OR quick filters work differently
what kind of search is it

maybe add/use 'simple search' by default (with simple wildcards * ? )
Browser - quick filter - improve search settings
Re: 1.9.0 - AND/OR quick filters work differently
This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.
Pierre.