Bug 181694

Summary: edit caption should present current caption for easier modification
Product: [Applications] digikam Reporter: Luka Renko <lure>
Component: Plugin-Generic-MetadataEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In: 0.2.0

Description Luka Renko 2009-01-23 23:15:14 UTC
Version:            (using KDE 4.1.96)
Installed from:    Ubuntu Packages

From Ubuntu bug:
https://launchpad.net/bugs/254540

"When I select the "Edit caption" option from the menu, the editing dialog always shows an empty text area, even if the picture has a caption associated with it. This makes it very cumbersome to e.g. correct a mistake in the caption.

The text area should contain the previous caption as the default value.

Also, in the same dialog, the default focus should be on the text area. Now it is on the OK button, which doesn't make any sense, especially with the text area being empty."


This is still the case with digikam 0.10.0 rc1. I think this is sensible expectation for the user and could be implemented for the case where only single image is selected. Old caption should be selected/highlighted in order to allow simple overwrite.
Comment 1 caulier.gilles 2009-01-25 09:59:46 UTC
SVN commit 916369 by cgilles:

kipi-plugins from trunk : Comment Edit tool : if only one image is selected from kipi host, set comment text field from this item.
In case of multiselection, do not preset comment.
BUG: 181694


 M  +5 -6      commenteditdialog.cpp  
 M  +4 -3      commenteditdialog.h  
 M  +8 -1      plugin_metadataedit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=916369