Bug 470118

Summary: Find duplicates still scans directories in the ignored directories list
Product: [Applications] digikam Reporter: philmariontravel
Component: Database-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:
Attachments: Similarity tab result
Ignored directories setup

Description philmariontravel 2023-05-22 11:11:40 UTC
Created attachment 159182 [details]
Similarity tab result

Used Preferences - Collections - Ignored directories; then Similarity tab - Find duplicates - it still scans the ignored directories.

In my database I have a 'BEST_OF' directory with sub-directories - these will always generate duplicates being smaller versions of images in the main directory tree. I was hoping ignored directories would stop this.

STEPS TO REPRODUCE
1. Preferences - Collections - Ignored directories - define directories to ignore (see attachment)
2. Tools - Maintenance (or Similarity tab) - update fingerprints 
3. Tools - Maintenance (or Similarity tab) - Find duplicates
4. Similarity tab - still getting duplicates based on images in ignored directories (see attachment)

OBSERVED RESULT
Still getting duplicates based on images in ignored directories 

EXPECTED RESULT
No duplicates reported if source of duplicate is in ignored directories.

SOFTWARE/OS VERSIONS
macOS: Momteray 12.6.1
MacBook Pro (16-inch, 2021)
Chip Apple M1 Pro
16GB memory


ADDITIONAL INFORMATION
Thanks for an amazing product. Sorry if this is due to typo's in the way I setup the ignored directories - still on the learning curve!
Comment 1 philmariontravel 2023-05-22 11:14:37 UTC
Created attachment 159183 [details]
Ignored directories setup

Couldn't see how to add 2 attachments in original report - here's the second screen capture.
Comment 2 Maik Qualmann 2023-05-22 13:17:39 UTC
List of ignored directories does not support paths. This is intentional.

Maik
Comment 4 Maik Qualmann 2023-05-22 17:53:55 UTC
Another note, in digiKam-8.1.0 it will be possible to also exclude albums in the duplicates search.

Maik
Comment 5 caulier.gilles 2023-05-22 20:24:44 UTC
relevant online doc are there :

https://docs.digikam.org/en/main_window/similarity_view.html

Gilles Caulier