https://bugs.kde.org/show_bug.cgi?id=374225
--- Comment #21 from Mario Frank <mario.fr...@uni-potsdam.de> --- (In reply to caulier.gilles from comment #20) Hey Gilles, > To Mario, from comment #18: > > "Finally, I sync the tags metadata to the files - only the tags metadata. > I get the image info for the files, load the metadata with metadata hub and > use the function writeTags. > I hope this is an appropriate way. > I tested this functionality with showFoto and it worked." > > This want mean that tag are always sync in DB, and in file metadata if > option is turned on, through MetadataHub ? If yes, it's the right way. When the user removes some face tag from people sidebar, I ask him if the association from the images to the tag shall also be removed (if existent). If he confirms that, I delete the association of the tag to the image and sync the new tags for the images from database to the image. Like this: 1) Unassign the tag: imageTagAssociation.unAssignTag(); 2) get the modified image info, i.e. the new metadata: metadataHub.load(info); 3) write the new tags to the image file: metadataHub.writeTags(info.filePath()) > > I supose that by "testing with Showfoto" want mean to check metadata > contents after to change tags inside digiKam. Showfoto do not support > database and tags from digiKam. Exactly. After modifying the image in digiKam, i opened the Image in Showfoto and check the metadata. Result: everything as expected. > > Gilles -- You are receiving this mail because: You are watching all bug changes.