https://bugs.kde.org/show_bug.cgi?id=512267

            Bug ID: 512267
           Summary: Advanced Search Tool work in a non-logical way on
                    request about missing field
    Classification: Applications
           Product: digikam
      Version First 8.9.0
       Reported In:
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Searches-Advanced
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Requests made about the status empty or missing of the "Make" field (The
manufacturer of the camera) give some so strange (non logical and false)
results, preventing to list correctly elements with empty or missing searched
field.
NB : when existing, the "empty" category is populated in the drop-down list of
the relevant filter (in the form of a blank item), while the "missing" one is
ignored, requiring to proceed by multiple NAND operation (which could ask for
manual correction each time a new category is added) ....
This feature should be very usefull to isolate such kind of elements to
manually update them.


STEPS TO REPRODUCE
1. import in a new database the attached sample collection, with 3 elements
based on variations of the "Make" EXIF field (The manufacturer of the camera) :
      - one with "Make"="Nikon" (issued from a DSLR)
      - one without "Make" field (issued from smartphone by saving a picture
embedded in a SMS/MMS)
      - one with existing "Make" field, but empty (issued manually through
Exiftool, for test)

2.  Open the Advanced Search Tool (left sidebar)

3. Ensure there is no remaining criteria and options is on "Meet all the
following conditions" (push reset button)

4.  Make the 10 requests figured in the attached dashboard (operand, options
and criteria)

5. compare results versus your expectations (hope mine are correct!)


OBSERVED RESULT
My results in the attached dashboard


EXPECTED RESULT
My expectations in the attached dashboard (gaps in red)
Notice that all these gaps are linked with the use of a status empty or missing
of the "Make" field in the request.
Observe that using empty (#blank) value in the request can lead the request
toward gaps on NIKON elements....


SOFTWARE/OS VERSIONS
Linux/Fedora 43 (gnome/wayland) with daily update
DIGIKAM 8.9.0 (appimage, with daily update)


ADDITIONAL INFORMATION
This issue can be linked with bug 467715 (but geographic fields), 479133 (but
for date fields) or 496514 (where IanMac said "I need a facility which searches
for things not being there"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to