Bug 253815 - Allow directories/images to be excluded by default
Summary: Allow directories/images to be excluded by default
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Database (show other bugs)
Version: 1.5.0
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 10:27 UTC by Steve Hill
Modified: 2017-07-26 05:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Hill 2010-10-11 10:27:35 UTC
Version:           unspecified
OS:                Linux

When I edit photos, I usually keep the originals in an "orig" directory within the photo's directory.  I don't usually want these originals to appear in the photo album in digikam, but there appears to be no way to exclude them.

Possible options that spring to mind:
1. Automatically ignore any directories with a ".ignore" file in them (or similar).
2. Add an option to the preferences to exclude from display any images that have a specific tag.

Reproducible: Didn't try
Comment 1 caulier.gilles 2011-12-15 09:48:08 UTC

*** This bug has been marked as a duplicate of bug 277619 ***
Comment 2 caulier.gilles 2017-07-26 05:03:44 UTC
Git commit e9bc2261c28fd55cf9f1285f51dbee93f4a3e3c3 by Gilles Caulier.
Committed on 21/02/2017 at 18:53.
Pushed by cgilles into branch 'master'.

Apply patch #104043 from Jan Wolter to ignore some kind of directories at collections
scan and to prevent to bloat database with unwanted/unecessary entries.
FIXED-IN: 5.5.0

M  +3    -1    NEWS
M  +69   -157  libs/database/collection/collectionscanner.cpp
M  +12   -8    libs/database/collection/collectionscanner.h
M  +154  -83   libs/database/coredb/coredb.cpp
M  +12   -4    libs/database/coredb/coredb.h
M  +14   -3    libs/database/coredb/coredbschemaupdater.cpp
M  +5    -3    libs/database/coredb/coredbschemaupdater.h
M  +93   -11   libs/database/utils/dbsettingswidget.cpp
M  +6    -2    libs/database/utils/dbsettingswidget.h
M  +6    -2    utilities/setup/setupdatabase.cpp
M  +2    -2    utilities/setup/setupdatabase.h

https://commits.kde.org/digikam/e9bc2261c28fd55cf9f1285f51dbee93f4a3e3c3