The evaluation of EXIF tags, when inserting them into XMP Keywords, is broken if more than one evaluated EXIF value is present.
Multiple values cannot be added.
To reproduce, start with a jpeg with no XMP metadata.
Do Metadata->Edit XMP. Go to Keywords tab.
Insert the following value:
{EXIF:F-Number}
and click the Write button.
The correct evaluated tag value (example: 5.6) is written as an XMP keyword.
Now Edit XMP again on that same file.
Insert the following value:
{EXIF:ISO Value}
and click the write button.
Examine the XMP data, and what XnViewMP wrote for the second value is "{EXIF:ISO Value}"
The field inside the { } was not evaluated, the entire string was inserted into the XMP as is.
So the file has two keywords:
5.6
{EXIF:ISO Value}
The evaluation also malfunctions if you try to add multiple evaluated fields at the same time, but in that case all of them are treated as literals and none are correctly evaluated. I provided the example the way I did so there could be no misunderstanding about what was happening.
This doesn't seem like the sort of thing that should only work one time per file.
Is this a bug?
EXIF tag evaluation broken in XMP edit
Moderators: helmut, XnTriq, xnview, Dreamer
Re: EXIF tag evaluation broken in XMP edit
i can't reproduce, please send me a sample file used?
Pierre.
Re: EXIF tag evaluation broken in XMP edit
It happens on any file, but the sample files have been sent.
If you still cannot reproduce, please download a fresh copy of 1.9.3, setup as portable, and follow the instructions in my post above exactly.
The problem occurs on a totally fresh download of 1.9.3. This happened once before, you said you couldn't reproduce a bug I found, and then I suggested you get a fresh download, and then you were able to reproduce it.
Thank you...
If you still cannot reproduce, please download a fresh copy of 1.9.3, setup as portable, and follow the instructions in my post above exactly.
The problem occurs on a totally fresh download of 1.9.3. This happened once before, you said you couldn't reproduce a bug I found, and then I suggested you get a fresh download, and then you were able to reproduce it.

Thank you...
Re: EXIF tag evaluation broken in XMP edit
ok, i can reproduce only with subject field, title or caption for example work
Pierre.
Re: EXIF tag evaluation broken in XMP edit
Did you try downloading a fresh 1.9.3 and running in portable mode?
It happens 100% of the time with XMP keywords if you follow the instructions above. I pick them from the fly out menu instead of pasting the text. Insert -> EXIF Image -> setting
It cannot anything particular to my configuration, because it happens with the stock .ini file.
It's not anything about the sample files I sent you. Try it with a Canon R5 mk 2 file from DPreview:
here
If that link doesn't work, download the jpeg from this page:
https://www.dpreview.com/sample-galleri ... 4186167035
Also, I just tested XnViewMP v1.7.1 and it does exactly the same thing.
I wonder if we are having a translation problem? You said "ok, i can reproduce only with subject field, title or caption for example work"
I said "Keyword" not "Subject". I do not see a "Subject" field.
The Keywords tab is the 2nd tab in the Edit XMP dialog.
I guess I am confused if you are trying to say you confirm what I said, or if you are saying you only see it in different fields.
It happens 100% of the time with XMP keywords if you follow the instructions above. I pick them from the fly out menu instead of pasting the text. Insert -> EXIF Image -> setting
It cannot anything particular to my configuration, because it happens with the stock .ini file.
It's not anything about the sample files I sent you. Try it with a Canon R5 mk 2 file from DPreview:
here
If that link doesn't work, download the jpeg from this page:
https://www.dpreview.com/sample-galleri ... 4186167035
Also, I just tested XnViewMP v1.7.1 and it does exactly the same thing.
I wonder if we are having a translation problem? You said "ok, i can reproduce only with subject field, title or caption for example work"
I said "Keyword" not "Subject". I do not see a "Subject" field.
The Keywords tab is the 2nd tab in the Edit XMP dialog.
I guess I am confused if you are trying to say you confirm what I said, or if you are saying you only see it in different fields.
Re: EXIF tag evaluation broken in XMP edit
sorry i means XMP:subject so keywords in edit XMP
Thanks to your detailed description I can reproduce the problem.

Pierre.