https://bugs.kde.org/show_bug.cgi?id=377849

--- Comment #8 from Maik Qualmann <metzping...@gmail.com> ---
I think the problem is the QFileSystemWatcher. Actually, a well thought-out
idea and facility in digiKam, a file that is modified or deleted outside, is
updated right in the database. If the connection is lost on Windows, digiKam is
notified that there was a change in the directory and can not find any images
anymore and remove them from the database. It actually seems that under Linux
the QFileSystemWatcher does not send a message, even if a removable medium is
removed hard.

My 3 ideas:

1. We remove QFileSystemWatcher kommplett under Windows, which also gives it
further problems and we have installed workarounds (locked directories)

2. We only add new items or update changed ones, but do not delete any.

3. We test before we delete items or directories from the database, if a hidden
file in the root path is still readable.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to