[Digikam-devel] [digikam] [Bug 314441] Rename settings and auto-rotation during import ignored [patch]

Gilles Caulier caulier.gilles at gmail.com
Tue Jun 25 13:12:46 BST 2013


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

--- Comment #47 from Gilles Caulier <caulier.gilles at gmail.com> ---
Andi,

Look like RenameCustomizer::signalChanged() is not connected to ImportUI to
dispatch event on icon-view class.

Camera file name is stored by CameraItemInfo::name. New file-name to use during
import is stored by CameraItemInfo::downloadName.

Through digiKam setup cameras/Import Windows section, we can configure
icon-view to display file-name under thumbnail (as AlbumGUI). It can be easy to
reproduce 2.x renaming result by this way in Qt4 model/view port. Icon-item
print file-name through ItemViewImportDelegate::drawName(). Call to this method
is done into ImportDelegate::paint() line 279.

As you can see, drawName() is called to print only CameraItemInfo::name. There
is n rules to print CameraItemInfo::downloadName if rename customizer settings
has changed.

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list