Summary: | only include displayable files in database | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Arnd Baecker <arnd.baecker> |
Component: | Database-Files | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles, vivo75+kde |
Priority: | NOR | ||
Version: | 0.9.3 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Sentry Crash Report: |
Description
Arnd Baecker
2007-05-21 14:55:24 UTC
Note that implementing this wish, seems to solve this bug http://bugs.kde.org/show_bug.cgi?id=89364 about non-image files being used for the calculation of the album date. To address this bug and http://bugs.kde.org/show_bug.cgi?id=151317 for new users: couldn't we simply: A) Do not include - any files whose mime-type is not listed - any directories starting with . In a first step, no changes to the database will be done, if one changes the files in the mime type list. By this there might be file types in the database which would not be imported for a new directory. But that's not a real problem. B) In a second step one would have to think about the removal of file from the database. This could indeed be done within the context of the usual scan on startup (However, a different message should be given, because the files themselves normally will still exist on the hard-disk). Also: if the user does not do the scan on start-up, where should one place such an update? If this is implemented, a warning when changing mime-types of files which exist in the data-base has to be given. So A) seems easy to me and address quite a few issues while B) is more complicated (and needs some more thought to do it right), as it deals with a clean-up in the database ... I am not sure how the suggestion http://bugs.kde.org/show_bug.cgi?id=123097 can be optimally integreated in this scheme. Of course an .ignore file in a directory sounds like a nice general approach to exclude any type of directory. However, for the example given in that wish of thumbnail files generated one might forget to add that .ignore file. Marcel, With 0.10.0, this report is solved. right ? Gilles 2.0.0-rc is out, please re-open if needed |