[Digikam-devel] [Bug 145743] only include displayable files in database

Arnd Baecker arnd.baecker at web.de
Thu Oct 25 07:27:10 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=145743         




------- Additional Comments From arnd.baecker web de  2007-10-25 08:27 -------
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.



More information about the Digikam-devel mailing list