Version: 0.9.0 (using KDE Devel) Installed from: Compiled sources OS: Linux Currently, if a JPG image has a JFIF comment, but no EXIF comment, then digikam will display the comment correctly, and any changes will be written to both the JFIF and EXIF fields, which is good. But if an image has an EXIF comment but no JFIF comment, digikam displays no comment. If a comment is added in digikam, it is correctly written to both fields. I propose that if either the JFIF field or the EXIF field is non-empty, digikam should display either comment. If they are both populated and they match, then the comment should also be displayed. If they are both populated and they don't match, digikam should pick one for display, or display both.
Jim, No. If JFIF comments is empty, digiKam will parse Exif Comments instead, and if Exif Comments is empty, it will parse IPTC caption. I suspect than your picture have something in JFIF section but an un-decodable content. It's an another problem. JFIF content to decode is not a simple formated text... Can you post a picture sample to test on my computer. Thanks in advance Gilles Caulier
Hmmm. Something else is going on here. I now think this is actually a bug somewhere in digikam. Within an existing album I made a copy of the image (with a simple command line cp) and refreshed the album in digikam. The original image still did not display the comment but the copy displayed it correctly! This album may have been originally created with the previous release of digikam, if that makes any difference.
Jim, Yes. If pictures have already recorded in digiKam database, it will not re-parse this one, only the new files will be parsed. I have planed to do a batch tool to updated database in background with pictures metadata contents. This is mandatory since 0.9.0 have been very improved against 0.8.x about metadata management. If i remember, there is alaready a file in B.K.O about this subject. Gilles
Gilles, You're correct. I deleted and recreated the database and everything is OK. So your background db update sounds like it will eliminate the problem. Nice app. Keep up the good work. -jim
Ok. I close the file now. Gilles
Problem is no longer reproducible with digiKam 7.3.0 and Exiv2 0.27.4