<div dir="ltr">Hi,<div><br>I encountered a strange issue in digiKam that seems to occur only with certain images. I’ve attached one such image that consistently reproduces the problem.<br><br><p>Here’s the step-by-step process to reproduce it:</p>
</div><div><ol><li>
<p>Import the image into digiKam.</p>
</li><li>
<p>Use <strong>Album → Read Metadata from Files</strong>. At this point, the tag list (in this case <em>Species/Blank</em>) appears correctly, and the <strong>XMP</strong> tab in the metadata sidebar displays the expected content.</p>
</li><li>
<p>In <strong>Settings → Configure digiKam → Metadata → Sidecars</strong>, I’ve enabled <strong>Write to sidecar files</strong> with the option <strong>Write to item and XMP sidecar</strong>. Based on this setting, I expect that writing metadata will update or create a sidecar file with the correct information.</p>
</li><li>
<p>Now, run <strong>Album → Write Metadata to Files</strong>. After this, the XMP data seen in step 2 disappears, and the output "empty" sidecar file contains only the XML header: <code class="gmail-whitespace-pre! gmail-language-xml"><span><span><span class="gmail-hljs-meta"><?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?></span></span><span><br></span></span></code>The image file’s metadata remains unchanged, so if I delete the generated sidecar and redo step 2, the metadata appears again in digiKam.</p></li></ol><div><p>I’m a bit confused, any insights or suggestions would be appreciated!</p>Thanks<br></div>Chai</div></div>