Bug 478693

Summary: Unable to add a collection if its a sub folder of an existing collection
Product: [Applications] digikam Reporter: stadtmkw
Component: Setup-CollectionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.2.0   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:

Description stadtmkw 2023-12-18 17:22:26 UTC
SUMMARY
***
When adding collections, selecting a subfolder of an existing collection results in an error message that the path already exists even though it's not the exact same path.
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-12-18 17:49:13 UTC
This is not a bug, a sub folder of an existing collection is already part of your digiKam album collection.
A collection is recursively imported with all subfolders.

A digikam collection is a collection of images on a local drive, removable storage device or network drive. The root path is specified for this purpose.
A collection should not be misused to import single folders.

Maik