PL4 deletes XMP file when overwriting a JPG during export

DxO PhotoLab 4.3.4 build 69 on macOS Big Sur 11.6.1

Situation:
RAW image (.CR2) and sidecar (.XMP) for one image before starting PL4. The sidecar has additional information such as IPTC title and description

Step 1: edit image in PL4 and export to JPG in same folder, close PL4
Result 1: .JPG is written, .DOP is written, .XMP is not touched
.JPG contains IPTC title and description

Step 2: edit same image in in PL4, export to JPG and answer “overwrite” on the dialog, close PL4
Result 2: .JPG is the new export, .DOP is updated, .XMP is deleted!
.JPG doesn’t contain IPTC title and description

This is very unfortunate since I hand over my pictures to an archive. When the title and description are gone and the XMP is deleted I have to do some work again.

The workaround is to delete the .JPG before the new export. Then the XMP is not deleted and title and description are written to the JPG.

Update: Don’t delete the JPG from within PL4, because it will delete the XMP with it. :face_with_symbols_over_mouth: I’m glad that I’ve got Time Machine to restore my work. Why is PL4 even touching the XMP when it is otherwise unable to write a sidecar?

Did this ever got sorted even though it’s an older version?

A guess is that the overwrite procedure deletes the files and then writes them from memory - although PL does not have the xmp in memory so it can’t be written back to disk.