Bug 221195

Summary: Comment sets Title does not set photo title
Product: [Applications] digikam Reporter: Abe <abelau+kdebug>
Component: Plugin-WebService-PiwigoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, frederic.coiffier, peter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 2.2.0
Sentry Crash Report:

Description Abe 2010-01-04 01:24:15 UTC
Version:           0.8.0 (using KDE 4.3.3)
Compiler:          gcc 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

When using gallery export function in digikam to export photo to a remote Gallery2 site, the option "Comment sets Title" is not functional.  

Expected behavior:
the caption (EXIF/IPTC caption/comment field) in individual photo being uploaded should be used as the "Title" field in the Gallery2 site

Current Behavior:
The title field of the photos uploaded to the Gallery2 site was not set to the photo caption.  Instead, the photo filename is being set as the title.  (i.e.  The "Comment sets Title" basically did nothing)
Comment 1 Peter Hedlund 2010-07-08 06:25:06 UTC
I would like to add my support for this bug. As is now the code simply uses the filename, from http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/galleryexport/gallerywindow.cpp

732     QString photoName = QFileInfo(photoPath).baseName();
733 	bool res = m_talker->addPhoto(album.name, photoPath, photoName,
734 	d->captTitleCheckBox->isChecked(),
735 	d->captDescrCheckBox->isChecked(),
736 	d->resizeCheckBox->isChecked(),
737 	d->dimensionSpinBox->value() );
Comment 2 caulier.gilles 2010-07-08 16:49:27 UTC
Thanks to review code. Please generate a diff against code from svn trunk. Look there for details :

http://www.digikam.org/drupal/contrib

Gilles Caulier
Comment 3 caulier.gilles 2011-08-29 13:43:54 UTC
Peter,

In digiKam 2.2.0, we will support Image title property :

https://bugs.kde.org/show_bug.cgi?id=155374

PicasaWeb and Flickr will support it too. Patch is attached to #155374

It will be nice to see Gallery export running in this way...

Gilles Caulier
Comment 4 Petri Damstén 2011-09-06 11:07:27 UTC
Git commit 2e106152329b8887aa35fc9c6dbc0c29fb241f86 by Petri Damstén.
Committed on 06/09/2011 at 13:06.
Pushed by pdamsten into branch 'master'.

- Image title support for flickr, picasa, facebook and gallery export.
- libkipi api changes
CCBUG: 155374
BUGS: 221195, 199317

M  +2    -0    CMakeLists.txt
M  +0    -7    batchprocessimages/CMakeLists.txt
M  +5    -0    batchprocessimages/tools/renameimageswidget.cpp
M  +9    -44   facebook/fbwindow.cpp
M  +1    -1    facebook/fbwindow.h
M  +1    -1    flickrexport/flickrwindow.cpp
M  +7    -11   galleryexport/gallerytalker.cpp
M  +2    -2    galleryexport/gallerytalker.h
M  +7    -29   galleryexport/gallerywindow.cpp
M  +6    -1    htmlexport/imageelement.h
M  +9    -0    kmlexport/kmlexport.cpp
M  +15   -3    picasawebexport/picasawebwindow.cpp
M  +5    -0    yandexfotki/yfwindow.cpp

http://commits.kde.org/kipi-plugins/2e106152329b8887aa35fc9c6dbc0c29fb241f86