<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>520203</bug_id>
          
          <creation_ts>2026-05-15 15:53:39 +0000</creation_ts>
          <short_desc>Setting a people (eg. &quot;Mark&quot;) through tag manager =&gt; htags = &quot;People&quot;, &quot;People|Mark&quot; instead of just &quot;People|Mark&quot;</short_desc>
          <delta_ts>2026-05-15 17:46:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Tags-Engine</component>
          <version>9.1.0</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="mahikeulbody">51mfxqck</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>9.1.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2516007</commentid>
    <comment_count>0</comment_count>
    <who name="mahikeulbody">51mfxqck</who>
    <bug_when>2026-05-15 15:53:39 +0000</bug_when>
    <thetext>Advanced metadata setting : Tags write options set to Xmp.lrhierarchicalSubject

Most of time I use face recognition which writes automatically into Xmp.lrhierarchicalSubject and I get &quot;People|Alice&quot;, People|John&quot;, ... ; it is ok. There is not &quot;People&quot; alone as in the following workflow.

But sometime I want to set a people who appears on the photo but whose the face is not visible. In this case, I open the tag manager and I set this people into the People tree. After to apply it, I get Xmp.lrhierarchicalSubject = &quot;People|Alice&quot;, People|John&quot;, &quot;People&quot;, &quot;People[Mark&quot; : the &quot;People&quot; alone should not be present, no isn’t it ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516015</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-05-15 16:27:23 +0000</bug_when>
    <thetext>You probably aren&apos;t referring to what we call the Tag Manager, since tags cannot be assigned to images within the Tag Manager.
So, presumably, you mean the right sidebar. I am unable to reproduce the problem. Can you rule out the possibility that you are accidentally selecting the People tag as well?

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516024</commentid>
    <comment_count>2</comment_count>
    <who name="mahikeulbody">51mfxqck</who>
    <bug_when>2026-05-15 17:03:06 +0000</bug_when>
    <thetext>&gt; So, presumably, you mean the right sidebar.
Yes (how do you call it ?)
I select only the people I want in the People tree and that automatically select also the root People tag. If I deselect the former, my people tag is also deselected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516042</commentid>
    <comment_count>3</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-05-15 17:41:24 +0000</bug_when>
    <thetext>Okay, then it&apos;s clear—it&apos;s not a bug.
In the context menu over the tag tree, under the &quot;Toggle Auto&quot; option, you selected the setting to automatically select parent tags as well.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516044</commentid>
    <comment_count>4</comment_count>
    <who name="mahikeulbody">51mfxqck</who>
    <bug_when>2026-05-15 17:46:47 +0000</bug_when>
    <thetext>(In reply to Maik Qualmann from comment #3)
&gt; Okay, then it&apos;s clear—it&apos;s not a bug.
&gt; In the context menu over the tag tree, under the &quot;Toggle Auto&quot; option, you
&gt; selected the setting to automatically select parent tags as well.
&gt; 
&gt; Maik

When you think you know everything about a software then you discover a little hidden option...
Thank you for the quick answer !</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>