Bug 479133 - Add a new option to search for empty/zero length date fields (metadata).
Summary: Add a new option to search for empty/zero length date fields (metadata).
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (other bugs)
Version First Reported In: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-28 21:22 UTC by Dario Panico
Modified: 2025-04-12 00:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Panico 2023-12-28 21:22:07 UTC
SUMMARY
***
Advanced search does not provide an option for searching for empty date fields in metadata.
***


STEPS TO REPRODUCE
1. Launch Digikam, click on "Search" left side tab
2. Click on "New Advanced Search..." button
3. Open "Image properties" section on "Advanced Search" dialog window.

OBSERVED RESULT
- For the date fields no option exists for "empty" metadata values.

EXPECTED RESULT
- Option to search/filter out "empty" values for each field - example: a value listed as "<empty>" in the drop-down list which when selected displays empty values or zero length values.

This report is very similar to #467715 only on date fields instead of location fields.
I'd like to use this feature to set a date on pictures received through WhatsApp that strips every picture of its metadata. Combining the ability to look for those pictures with the possibility to set the date from the filename (this part works as intended) could enable me to finally fix the mess
Comment 1 Maik Qualmann 2023-12-28 21:39:04 UTC
We only have part of the image metadata in the database. In your case you are looking for images without a creation date/modification date. But we always have a creation date/modification date in the database. If there is none in the metadata, we use the file dates. So you can't search for images "without/empty" date.

Maik
Comment 2 Maik Qualmann 2023-12-28 21:44:55 UTC
So the photo information would have to be determined using non-existent metadata, such as camera marke, model, lens, etc.

Maik