Nasty bug in 0.94 with the metadata

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Nasty bug in 0.94 with the metadata

Post by m.Th. »

The „IPTC Dialog” doesn’t edit data anymore!

To test it,
1. download the attached file to a folder of your choice
2. navigate with the browser at the attached file
3. Press Ctrl+I in order to show the IPTC dialog
4. In „Caption” field modify the text - for example add „qqqqqqqqqqqqqqq” at the end.
5. Press „Write”

Expected:

When we press again the Ctrl+I, the „qqqqqqqqqqq” string should appear.

Actual:

Nothing was saved. The old text is there.

Note:

It seems that if there isn’t any value in the field (that is the field is created) then the data is saved. In other words, creation works ok, just the modification has problems.

It would be marvelous if we will have a fix for this ASAP.

Ready to test!
Attachments
C54I2839 2019-10-19 11-37-45.jpg
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Nasty bug in 0.94 with the metadata

Post by michel038 »

I could not reproduce with my own photos ...

... nor with yours
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Nasty bug in 0.94 with the metadata

Post by m.Th. »

What version do you have?

I can reproduce it at will with any (?) JPG photo.

Perhaps I should mention that only Editing has problems.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Nasty bug in 0.94 with the metadata

Post by michel038 »

V0.94. Win 7 pro.
When caption is modified :

- I can see the new text using Ctrl i again.
- If I don't release and select again the same photo, I won't see new value in Info pane, but I know that metadata are updated.
- Labels aren't refreshed too (I added caption as a label below my thumbnails). To get new values in labels, I must select another folder, and come back to previous folder

- I didn't notice any change in these behaviours since 0.8x versions

- Did you try to mark/unmark the third option in the least tab : "replace only if original value is empty"
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Nasty bug in 0.94 with the metadata

Post by m.Th. »

Thanks a lot for the help!

...however it is nasty, nasty, nasty bug!

How I „fixed” it:
- Did you try to mark/unmark the third option in the least tab : "replace only if original value is empty"
Going to Options (last tab in IPTC dialog) I noticed that the options are greyed there and all are checked. Same like in 0.93 and earlier.

However with these settings in 0.94 the behavior is different: the settings are honored now even in the case of a single file (thing which I think that is more logical), even if they are grayed (thing which is bad).

So I selected 2 files just to change the settings and it worked like a charm.

Tested with one and many files.

So, the bug exists, but it is a little bit different and much easier to fix:

1. Make the options always enabled
2. Take out the „Multiple selection” text from the Options tab
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nasty bug in 0.94 with the metadata

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Post Reply