Write metadata to all 3 domains on update
Submitted by Lucas Beeler
Assigned to Jim Nelson
Link to original bug (#717227)
Description
---- Reported by lucas@yorba.org 2010-12-30 14:03:00 -0800 ----
Original Redmine bug id: 3044
Original URL: http://redmine.yorba.org/issues/3044
Searchable id: yorba-bug-3044
Original author: Lucas Beeler
Original description:
See the assumption Tim made on the mailing list and my response:
Hi Tim,
It seems the feature only writes to XMP tags.
Shotwell will happily write metadata out to EXIF and IPTC in addition to XMP, but only under certain conditions. Likewise, there are some conditions under which Shotwell will not write out any XMP metadata. Understanding when and why these conditions occur requires understanding how Shotwell's metadata handling works. In general, metadata handling in Shotwell works as follows.
Shotwell recognizes three separate metadata domains : EXIF, IPTC, and XMP. For any given photo file, no, some, or all of these domains may be present. For example, you can have a photo with only EXIF metadata -- in this case, only one domain (the EXIF domain) is present. Likewise, you can have a photo with both EXIF and XMP metadata -- in this case, two domains (EXIF and XMP) are present.
One key feature of Shotwell's metadata handling is this: Shotwell will write out metadata only to domains that are already present in the photo. This is to say, if you have a photo that contains only EXIF and IPTC metadata and you change that photo's title, only the EXIF and IPTC title tags are updated. No new XMP domain is created. This is because the photo had no XMP data in it to begin with, and Shotwell will only write metadata out to pre-existing domains.
I admit that this behavior is not terribly intuitive, so I've created a ticket reflecting this here:
Regards,
Lucas
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:39:00 -0700 ----
History
Comment 1
Updated by Jim Nelson almost 3 years ago
Lucas' summary is correct, with one important addition: Shotwell has a list of metadata tags for each type of metadata (titles, keywords/tags, ratings, etc.) If none of the metadata domains is present for that particular type, it uses the first one in the list regardless if the domain is present or not.
Also note that EXIF doesn't support certain metadata types (such as keywords and ratings) and that we don't use the EXIF ImageDescription tag because there's so much confusion out there about its proper usage (see http://trac.yorba.org/wiki/PhotoTags for more information). Thus, the presence of EXIF does not preclude Shotwell from writing IPTC or XMP, even if they don't already exist in the photo.
Comment 2
Updated by Adam Dingle almost 3 years ago
- Priority set to High
Worth considering for 0.9.
Comment 3
Updated by Adam Dingle almost 3 years ago
- Target version set to 0.9
Comment 4
Updated by Adam Dingle almost 3 years ago
- Subject changed from Consider writing metadata to all 3 domains on update to Write metadata to all 3 domains on update
We've found that both Lightroom and Aperture write keywords and titles to both IPTC and XMP metadata. We've decided to do the same for 0.9.
Comment 5
Updated by Adam Dingle almost 3 years ago
- Tracker changed from Bug to Feature
Comment 6
Updated by Adam Dingle almost 3 years ago
- Tracker changed from Feature to Bug
Comment 7
Updated by Adam Dingle almost 3 years ago
- Tracker changed from Bug to Feature
I guess it's an enhancement. Sorry for the spam.
Comment 8
Updated by Adam Dingle almost 3 years ago
- Status changed from Open to Review
- Assignee changed from Anonymous to Jim Nelson
Comment 9
Updated by Jim Nelson over 2 years ago
- Status changed from Review to 5
- Resolution set to fixed
- % Done changed from 0 to 100
r2649
Comment 10
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:49 UTC ---
This bug was previously known as bug 3044 at http://redmine.yorba.org/show_bug.cgi?id=3044
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.9
Resolution: RESOLVED FIXED