Data-driven Categories: Invert Filter not working as expected

Started by axel.hennig, September 11, 2025, 09:39:19 PM

Previous topic - Next topic

axel.hennig

I'm not sure, if this is by design or if this is a bug, but it is definitely not what I've expected.

Steps to reproduce:
  • Three JPG-files with filled CameraOwnerName (XMP::exifEX\CameraOwnerName\OwnerName\0). The three files and CameraOwnerNames are:
    • 1.jpg: Alice
    • 2.jpg: Bob
    • 3.jpg: Chris
  • Setup a Data-driven Category with (only listing what I've entered or changed):
    • Basic Settings - Tag: XMP::exifEX\CameraOwnerName\OwnerName\0
    • Basic Settings - Category Filter: @All|^0 work with$ (this Category contains just the three files mentioned above)
    • Formatting - Use 'Other' element: No
    • Replace and Filter - Filter Pattern: Alice;Bob

The result of this Data-driven Category is: Two Sub-Categories, namely 'Alice' and 'Bob' (both containing just one file). This is what I've expected.

Now comes the part that I do not understand.

Steps to reproduce:
  • Open the Data-driven Dialog-box again (the Dialog-box of the above created Data-driven Category).
  • Just change: Replace and Filter - Invert Filter: Yes

The hint in the Data-driven Dialog-box for 'Invert Filter' is: Invert the result of the filter, using only values not matching the filter.

The result of this changed Data-driven Category is now: Three Sub-Categories, namely 'Alice', 'Bob' and 'Chris'. My expectation was that just 'Chris' appears (invert the result of the filter) and not everything.