SUMMARY DK's watchdog (I guess through the inotify API) for folders does not work anymore. A file added to a folder known to DK is not recognized by a running DK session anymore, as it was the case for DK 5.x STEPS TO REPRODUCE 1. Start DK 2. Copy a file (e.g via Dolphin) to an Album which is known to Digikam 3. DK does not immediately recognize the newly added file, but only on restart or on launching the maintenance tool SOFTWARE/OS VERSIONS Digikam: 6.3 Opensuse: 15.1 KDE Frameworks Version: 5.55.0 Qt Version: 5.9.7
This feature is now configurable. The option is located in the digiKam settings under collections. Remember, this feature also has many disadvantages. Activate it only if you absolutely need external changes on a regular basis. Maik
Thanks Maik, missed this option. What are the disadvantages?
The QFileSystemwatcher needs system (kernel) resources, these are finite. On some systems, only 255 albums can be monitored. Also on a modern Linux system is ending after a few 10 thousand albums. Under OSX, he slows down the launch of digiKam by several minutes. Otherwise it can slow down digiKam, because internal file changes trigger an event. If you want to copy with Dolphin, mark files in Dolphin and use Paste in the digiKam window. DigiKam also automatically copies any available sidecar files completely automatically. Maik
Interesting. In this case, it would be great to make the directories to be watched configurable. For example, I only need the folder 2019 to be watched for new files.
*** Bug 412590 has been marked as a duplicate of this bug. ***
It turns out that a cloud sync service I've installed has automatically set fs.inotify.max_user_watches=1048576 in /etc/sysctrl.conf. This is enough to also include my Digikam setup. Apart from using more memory, I didn't experience any issues so far (no increased startup time on Linux)