https://bugs.kde.org/show_bug.cgi?id=434060
Bug ID: 434060 Summary: DigiKam doesn't drop deleted tags from Extended Attributes Product: digikam Version: 7.2.0 Platform: Neon Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Database-Baloo Assignee: digikam-bugs-n...@kde.org Reporter: tagwer...@innerjoin.org Target Milestone: --- SUMMARY: If digiKam reads a tag from the extended attributes of a file and the tag is modified, the change is seen in digiKam when the file modification time is changed and the screen refreshed. ... However If digiKam reads tags from the extended attributes of a file and the tags are subsequently removed, digiKam does not 'forget' the deleted tags (even after 'touching' the file and refreshing) In the same way, if tags are assigned within digiKam, saved to the Extended Attributes, and then deleted within digiKam and saved again, they are not removed from the xattr. STEPS TO REPRODUCE: On a system that supports Extended Attributes (such as Ext4, BTRFS) Tell digiKam that it should handle extended attributes, go to the "Settings / Configure digiKam / Metadata / Baloo" and set: Store metadata from digiKam in Baloo Read metadata from Baloo and under "... / Metadata / Behaviour / Write this information to the Metadata", select: Image tags Rating and also under "... / Metadata / Behaviour / Reading and Writing Metadata", select: Update file modification timestamp when files are modified Rescan file when files are modified Clear the selections under "... / Metadata / Advanced" for Tags and Ratings, on the basis that this is needed in order to write the tag/rating metadata back to the Extended Attributes Create new test image, add "mytag" as a tag with Dolphin or Gwenview, and check with getfattr: getfattr -d testfile.jpg # file: testfile.jpg user.xdg.tags="mytag" change the file modification time with "touch testfile.jpg" and check that digiKam sees the tag Delete the tag with Dolphin or Gwenview and confirm that it has gone, "touch testfile.jpg" to update the modification time and refresh digiKam OBSERVED RESULTS The testfile.jpg in digiKam still shows "mytag" EXPECTED RESULTS The tag should have gone... SOFTWARE/OS VERSIONS Neon Unstable DigiKam : 7.2.0 (build date 2021-03-06) Plasma : 5.21.80 Frameworks : 5.80.0 Qt : 5.15.2 Filesystem : Ext4 -- You are receiving this mail because: You are watching all bug changes.