Bug 489680

Summary: Cannot include directories starting with .
Product: [Applications] digikam Reporter: Bravo Baavo <b4yf823ap56y457945ty4w7o>
Component: Setup-CollectionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 8.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 8.4.0
Sentry Crash Report:

Description Bravo Baavo 2024-07-03 14:38:24 UTC
SUMMARY
Directories starting with a "." are not imported. The collections menu says this is by default, but I've not been able to enable it.

STEPS TO REPRODUCE
1. Create a folder of which the name starts with .
2. Put images in the folder
3. Try to import them.

OBSERVED RESULT
Digikam will not import anything.

EXPECTED RESULT
Digikam will not import anything, but it should be configurable.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12 (built against 5.15.12)

ADDITIONAL INFORMATION
Comment 1 Bravo Baavo 2024-07-03 14:39:45 UTC
Forgot to mention, I tried adding the following filters to the Ignore List to see if it would enable searching hidden directories, but none worked:
-.
-.*
-./
-.*/
Comment 2 caulier.gilles 2024-07-03 14:54:01 UTC
'.*' folder are hidden directories under Linux. So the behavior is normal.

Gilles Caulier
Comment 3 Maik Qualmann 2024-07-03 14:56:06 UTC
Directories beginning with a "." dot are hidden directories under Linux. digiKam intentionally ignores directories beginning with a "." For example, our trash ".dtrash" in the collection is also a hidden folder that is ignored. We will not change this behavior.

Maik