Page 1 of 2
0.84: Image's metadata lost when saving
Posted: Tue Jan 24, 2017 9:54 am
by m.Th.
How to lose your work in few easy steps:
1. Get a JPG (or any other format which supports metadata embedding)
2. In Thumbs Pane press Ctrl+I to bring the IPTC/XMP dialog
3. Enter some text in the Caption field
4. Save
5. Double-click to open the image in a new tab
6. Do any edit (for example Crop - it doesn't matter)
7. Save
8. Close tab & Return to Thumbs pane and press Ctrl+I (WHY should I return to the Thumbs pane in order to see the metadata of the open file???)
Expected: I should see in the Caption field the text entered at step 3.
Actual: Blank! - all data is wiped
Re: How to destroy your manually entered image's metadata
Posted: Wed Jan 25, 2017 2:30 pm
by xnview
m.Th. wrote:How to lose your work in few easy steps:
1. Get a JPG (or any other format which supports metadata embedding)
2. In Thumbs Pane press Ctrl+I to bring the IPTC/XMP dialog
3. Enter some text in the Caption field
4. Save
5. Double-click to open the image in a new tab
6. Do any edit (for example Crop - it doesn't matter)
7. Save
I can't reproduce, the caption is always here. Which setting do you have for IPTC/XMP dialog?
8. Close tab & Return to Thumbs pane and press Ctrl+I (WHY should I return to the Thumbs pane in order to see the metadata of the open file???)
What do you mean?
Re: How to destroy your manually entered image's metadata
Posted: Wed Jan 25, 2017 3:44 pm
by m.Th.
xnview wrote:m.Th. wrote:How to lose your work in few easy steps:
1. Get a JPG (or any other format which supports metadata embedding)
2. In Thumbs Pane press Ctrl+I to bring the IPTC/XMP dialog
3. Enter some text in the Caption field
4. Save
5. Double-click to open the image in a new tab
6. Do any edit (for example Crop - it doesn't matter)
7. Save
I can't reproduce, the caption is always here. Which setting do you have for IPTC/XMP dialog?
8. Close tab & Return to Thumbs pane and press Ctrl+I (WHY should I return to the Thumbs pane in order to see the metadata of the open file???)
What do you mean?
Did you receive my movie by PM?

Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 11:33 am
by helmut
I can't reproduce the problem either: After croppinig and saving the IPTC data (Caption, caption writer, ...) is still there. (correct).
@Pierre: What is the status of this problem?
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 12:41 pm
by m.Th.
The current status: DANGEROUS (I think)
The „bug” is controlled by JPEG Write Settings. To find them, double click on an image and go to File | Format Settings | Write | JPEG
Here you have 3 checkboxes at the bottom: Keep EXIF, IPTC, XMP. Check all of them.
I don't remember now how it is by default, but if these are Disabled then the problem persists. It is rather a wrong choice for the default settings.
8. Close tab & Return to Thumbs pane and press Ctrl+I (WHY should I return to the Thumbs pane in order to see the metadata of the open file???)
What do you mean?
http://newsgroup.xnview.com/viewtopic.php?f=60&t=34630
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 12:58 pm
by helmut
Thank you for these details that allowed to reproduce the problem, m.Th..
m.Th. wrote:The „bug” is controlled by JPEG Write Settings. To find them, double click on an image and go to File | Format Settings | Write | JPEG
Here you have 3 checkboxes at the bottom: Keep EXIF, IPTC, XMP. Check all of them.
I don't remember now how it is by default, but if these are Disabled then the problem persists. ...
By default, all three checkboxes "Keep EXIF", "Keep IPTC", and "Keep XMP" are checked.
Possible measurements to avoid such problems:
- "Format settings" should be integrated into the save dialog using a "Settings" or "Options" button. This will improve the workflow and the user might remember that he/she might need to modify these settings when saving. (Someone has requested this before but I couldn't find it.)
- "Format settings" should be part of the settings. (Currently one can only change the format settings in Viewer).
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 1:26 pm
by cday
helmut wrote:
- "Format settings" should be integrated into the save dialog using a "Settings" or "Options" button. This will improve the workflow and the user might remember that he/she might need to modify these settings when saving. (Someone has requested this before but I couldn't find it.)
+1
But Pierre has indicated that that (a normal feature in software in general) currently can't be implemented in 'MP due to Qt limitations...
It is one of two issues (the other related to access to some basic print settings) that can't currently be implemented as far as I'm aware for that reason, a possible subject for an update from Pierre?
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 3:56 pm
by m.Th.
But Pierre has indicated that that (a normal feature in software in general) currently can't be implemented in 'MP due to Qt limitations...

- shocked-eyes-smiley-emoticon.gif (20.77 KiB) Viewed 793 times
At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 4:09 pm
by helmut
m.Th. wrote:... At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Adding new tabs "Format" to Settings dialog should be feasable and no problem. If I understood Pierre right, placing buttons on standard dialogs is a problem in Qt.
Re: 0.84: How to destroy your manually entered image's metad
Posted: Wed Mar 08, 2017 6:20 pm
by cday
helmut wrote:m.Th. wrote:... At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Adding new tabs "Format" to Settings dialog should be feasable and no problem. If I understood Pierre right, placing buttons on standard dialogs is a problem in Qt.
Yes, it was suggested before that save settings would be better located in Tools > Options than as at present in the File menu, but where access to save settings is
really needed is in the Save dialog, as in XnView Classic and other programs...
Re: 0.84: How to destroy your manually entered image's metad
Posted: Thu Mar 09, 2017 5:48 am
by m.Th.
helmut wrote:m.Th. wrote:... At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Adding new tabs "Format" to Settings dialog should be feasable and no problem. If I understood Pierre right, placing buttons on standard dialogs is a problem in Qt.
There is already such a section. Just add some buttons there to show up these windows...
Re: 0.84: How to destroy your manually entered image's metad
Posted: Thu Mar 09, 2017 5:52 am
by m.Th.
cday wrote:helmut wrote:m.Th. wrote:... At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Adding new tabs "Format" to Settings dialog should be feasable and no problem. If I understood Pierre right, placing buttons on standard dialogs is a problem in Qt.
Yes, it was suggested before that save settings would be better located in Tools > Options than as at present in the File menu, but where access to save settings is
really needed is in the Save dialog, as in XnView Classic and other programs...
No problem. A window can be accessible from many locations. I don't see any problem with this...
Re: 0.84: How to destroy your manually entered image's metad
Posted: Thu Mar 09, 2017 12:52 pm
by CameronD
m.Th. wrote:The current status: DANGEROUS (I think)
I agree.
This situation actually surprises me - I always assumed those settings were for save-as and otherwise saving
new copies of an image.
I would expect that simply saving an existing jpeg with modified content would use its current values such as compression quality and metadata.
What happens if you modify the metadata? does updating the file with new metadata also cause the metadata to be deleted if those options are set?
I can understand how the problem arises. I recently did a batch process of writing to new jpegs and wanted to remove some of the metadata, the ICC, wrote lower quality and resize. This requires modifying the format write options and if I did not remember to reset all the options to sensible values then I could have made a mess of a lot of image files.
It is also not good that I cannot access "format settings" from anywhere on the browser page, except the batch process dialog. I can do a right-click->convert into jpeg, but I cannot see nor change what the settings are.
Re: 0.84: How to destroy your manually entered image's metad
Posted: Fri Mar 10, 2017 9:17 am
by xnview
helmut wrote:m.Th. wrote:... At least two buttons [Write Settings] [Read Settings] in Tools | Settings | Formats which will open the Viewers' dialogs discussed above.
Adding new tabs "Format" to Settings dialog should be feasable and no problem. If I understood Pierre right, placing buttons on standard dialogs is a problem in Qt.
So you would like that i add a new section 'Formats' in Settings (before 'Integration'), right?
Re: 0.84: How to destroy your manually entered image's metad
Posted: Fri Mar 10, 2017 11:43 am
by helmut
xnview wrote:... So you would like that i add a new section 'Formats' in Settings (before 'Integration'), right?
I'd prefer if the category for format settings would be more at the top. In XnView Classic these settings are in
General » Read/Write.