Bug 88885

Summary: Digikam image comments not displayed
Product: [Applications] digikam Reporter: mo <kde-bugs-org>
Component: Plugin-Generic-HTMLGalleryAssignee: Digikam Developers <digikam-bugs-null>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0

Description mo 2004-09-05 14:12:12 UTC
Version:           CVS (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) 
OS:                Linux

In current CVS (09/05/04) the Digikam image comments are not exported to HTML (not displayed).
Comment 1 mo 2004-09-17 23:10:38 UTC
Am I the only one having this problem? Album comments are exported, but not the ones of the images. I'm using the lastest CVS of both kdeextragear-3 kdeextragear-libs-1 (updating every day), but I can't see a change. Can anyone confirm that it's working? Maybe it's just me
Comment 2 mo 2004-09-21 16:18:17 UTC
Well, after getting no response I investigated a little bit and found out that changing the line 977 in imagesgallery.cpp, which says:

imgComment = (*m_commentMap)[imgName];

to:

imgComment = (*m_commentMap)[(*urlIt).prettyURL()];

resolves the problem and make comment-display work.
Comment 3 caulier.gilles 2004-09-21 17:01:18 UTC
Sorry for this long time, but i'm actually very busy...
Tested and fixed in CVS. thanks