https://bugs.kde.org/show_bug.cgi?id=433984
Bug ID: 433984
Summary: DigiKam does not save tags as hierarchical tags in
Extended Attributes
Product: digikam
Version: 7.2.0
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Database-Baloo
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY:
If digiKam saves a heirarchical tag to the Extended Attributes, the
tag is saved as a list of tag components
STEPS TO REPRODUCE:
On a system that supports Extended Attributes (such as Ext4, BTRFS)
Tell digiKam that it should handle extended attributes, go to
"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, run digiKam and assign a tag "Parenttag/Mytag"
to it (did this via "Captions", typing in the Tag in the "Tags" tab
and saying the tag should be created under "/BalooTags")
Check the tag as written to the filesystem:
getfattr -d testfile.jpg
OBSERVED RESULTS
The tags are shown as two separate, rather than hierarchical tags
# file: testfile.jpg
user.xdg.tags="Mytag,ParentTag"
EXPECTED RESULTS
A hierarchical tag is saved:
# file: testfile.jpg
user.xdg.tags="Parenttag/Mytag"
SOFTWARE/OS VERSIONS
Neon Unstable
DigiKam : 7.2.0 (build date 2021-03-05)
Plasma : 5.21.80
Frameworks : 5.80.0
Qt : 5.15.2
Filesystem : Ext4
ADDITIONAL INFORMATION
A connected issue is that hierarchical tags read from the Extended
Attributes are only partially written back when saved; "Parenttag/Mytag"
is written back as "Mytag" and this overwrites the original xattr info
--
You are receiving this mail because:
You are watching all bug changes.