1.98.7 Losing some XMP-data on writing valid+invalid files

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Leonidas
Posts: 7
Joined: Fri Jan 28, 2011 9:35 pm

1.98.7 Losing some XMP-data on writing valid+invalid files

Post by Leonidas »

Hi,

my (peculiar) workflow leads to this bug, which persists also today in XnView 1.98.7 under Windows7 64.
  • tag the JPG in XnViewMP with XMP-Rating
  • delete pictures based on the Rating
  • edit pictures in XnView
  • rename RAW-files to .JPG to match them with WinMerge
  • set IPTC + XMP data of all files (including the renamed RAW) in the directory with XnView
The last step led often to a vanishing Rating in the XMP metadata. Today I finally found out how to reproduce this error. RAW-files normally can't be IPTC-edited by XnView, but my renaming leads to XnView trying to update these invalid files too.

So, if on using "Edit IPTC data" on multiple files ...
  • invalid files, like NEF/RAW that have been renamed to JPG are present in the "Edit IPTC data"-list
  • "Update or create XMP" is toggled
  • all the valid and invalid files are updated at once
... then the XMP metadata in the valid JPGs too is overwritten with the XMP without Rating.

I uploaded two test-files with XMP-Rating to use and a screenshot of the settings I used. The actually metadata in the "Edit IPTC data" wasn't of importance.

http://flunzel.de/download/testdata.zip (16 MiB)
http://flunzel.de/download/testsettings.png
Post Reply