1.9.0 - AND/OR quick filters work differently

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

1.9.0 - AND/OR quick filters work differently

Post by moropus »

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.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

I've tried and it works correctly. 'Categories (catalog)' is enabled?
Pierre.
moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.0 - AND/OR quick filters work differently

Post by moropus »

xnview wrote: Tue May 27, 2025 8:12 am I've tried and it works correctly. 'Categories (catalog)' is enabled?
Screenshots:
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
2025-05-27_10-17-54.png (60.66 KiB) Viewed 455 times
2025-05-27_10-17-41.png
2025-05-27_10-17-41.png (60.67 KiB) Viewed 455 times
2025-05-27_10-17-29.jpg
2025-05-27_10-17-29.jpg (327 KiB) Viewed 455 times
2025-05-27_10-15-32.png
2025-05-27_10-15-32.png (13.2 KiB) Viewed 455 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

please send us some samples files to reproduce?
Pierre.
moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.0 - AND/OR quick filters work differently

Post by moropus »

xnview wrote: Tue May 27, 2025 8:46 am please send us some samples files to reproduce?
Here you go.
Categories are embedded into image.
Attachments
1B9A4176_1_small.jpg
1B9A4176_1_small.jpg (106.93 KiB) Viewed 435 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

ok, if search whole work it works.
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.9.1. Please check and confirm the bug fix here.
Pierre.
moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.0 - AND/OR quick filters work differently

Post by moropus »

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.
Partially fixed (1.9.1 x64, Windows 10 x64).
Filter with two categories 'кот+пес' now works as intended.
Filter category and format 'кот+jpg' still finds nothing.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

jpg is not in categories
Pierre.
moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.0 - AND/OR quick filters work differently

Post by moropus »

xnview wrote: Wed May 28, 2025 12:15 pm jpg is not in categories
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).
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

you can add 'thumbnail labels'
Pierre.
moropus
Posts: 26
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.0 - AND/OR quick filters work differently

Post by moropus »

xnview wrote: Wed May 28, 2025 1:23 pm you can add 'thumbnail labels'
Checked, and it doesn't work.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

ok im wrong, currently + can only be used on categories
Pierre.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: 1.9.0 - AND/OR quick filters work differently

Post by user0 »

xnview wrote: Wed May 28, 2025 1:58 pm ok im wrong, currently + can only be used on categories
what kind of search is it :? ?

maybe add/use 'simple search' by default (with simple wildcards * ? )
Browser - quick filter - improve search settings
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.9.0 - AND/OR quick filters work differently

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.
Pierre.
Post Reply