SUMMARY Face regions are lost when the file is renamed. I suspect that the face region isn't stored in the metadata of the file itself (which I was really hoping that it would be). I'm glad that the people tag still exists for the picture, but if some grand child is looking at the picture decades from now, it would be good if whatever software they're using can point out who is who in the picture. STEPS TO REPRODUCE 1. Add a face tag to a picture. 2. Close digiKam 3. Rename picture 4. Reopen digiKam 5. Look for faces in renamed picture OBSERVED RESULT No faces are found EXPECTED RESULT The faces which were just tagged are still visible. SOFTWARE/OS VERSIONS Windows: 11 ADDITIONAL INFORMATION
First you should also enable writing of facel regions/metadata in the digiKam settings under Metadata. It is also recommended to do the renaming with digiKam. Maik
The name of the image is a criterion for locating an externally moved image and for reassigning the corresponding DB metadata. It would be for us to consider whether we remove the name as a criterion (possibly also the modification date) and limit ourselves to file size and a unique hash. But your main problem is that you don't write any metadata in the image. Maik
Git commit 4ea734d1978c009c7462a41c4bb54cb5b164bcc6 by Maik Qualmann. Committed on 01/05/2022 at 12:34. Pushed by mqualmann into branch 'qt5-maintenance'. prefer item found in the same album FIXED-IN: 7.7.0 M +2 -1 NEWS M +16 -2 core/libs/database/item/scanner/itemscanner_file.cpp https://invent.kde.org/graphics/digikam/commit/4ea734d1978c009c7462a41c4bb54cb5b164bcc6