Created attachment 152066 [details] Duplicate tags are displayed below thumbnail when tags are repeated in tag hierarchy SUMMARY *** Duplicate tags are displayed below thumbnail when tags are repeated in tag hierarchy *** STEPS TO REPRODUCE 1. In Digikam Configuration options enable display of tags in Thumbnails: "Settings" | "Configure Digikam" -> "View" and enable/check "Show digikam tags" option in the "Icons" tab. 2. Add the following tags to an image: "Alpha" and "Test/Alpha" (hierarchical tag) 3. Select image in thumbnail view OBSERVED RESULT - Below the thumbnails the tags "Alpha, Test, Alpha" are displayed. Refer to attached screenshot. - Takes up space, redundant information. EXPECTED RESULT - "Alpha, Test" SOFTWARE/OS VERSIONS Windows 11 ADDITIONAL INFORMATION Digikam tag metadata block: <digiKam:TagsList> <rdf:Seq> <rdf:li>Alpha</rdf:li> <rdf:li>Test</rdf:li> <rdf:li>Test/Alpha</rdf:li> </rdf:Seq> </digiKam:TagsList>
Yes, of course I noticed that in the thumbnail as well. However, since this is an abbreviated representation without a tag path and this naturally results in the double representation of the tags. However, I decided to leave it as it is so you can see that there may be duplicate tags. Maik
Git commit 9ee7af0269a2ba26b5447b10c2e972c7ce62e935 by Maik Qualmann. Committed on 18/09/2022 at 16:41. Pushed by mqualmann into branch 'master'. prevent duplicate tag names in possible views FIXED-IN: 8.0.0 M +2 -1 NEWS M +1 -0 core/app/items/delegate/itemdelegate.cpp M +1 -0 core/dplugins/generic/tools/mjpegstream/mjpegframeosd.cpp M +1 -0 core/dplugins/generic/view/slideshow/widgets/slideproperties.cpp M +1 -0 core/utilities/import/items/importdelegate.cpp https://invent.kde.org/graphics/digikam/commit/9ee7af0269a2ba26b5447b10c2e972c7ce62e935