[Digikam-devel] [digikam] [Bug 314441] Rename settings and auto-rotation during import ignored [patch]
Gilles Caulier
caulier.gilles at gmail.com
Thu Jun 27 13:05:12 BST 2013
https://bugs.kde.org/show_bug.cgi?id=314441
--- Comment #53 from Gilles Caulier <caulier.gilles at gmail.com> ---
Andi, Marcel,
About Already Downloaded Flag from icon-view to indicate which item have
already imported to digiKam DB, look like this slot connection is commented :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/importui/main/importui.cpp#L191
CameraHistoryUpdater which manage status of already imported item with DB
through CHUpdateItemMap container do not dispatch information to icon-view. I
cannot see any code relevant in model/view. This is why there is no downloaded
information displayed over item. I think it can be fixed easily.
This is the older code relevant :
In process to update icon-view (item from camera are listed or item filter has
changed), CameraHistoryUpdater is called :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/main/cameraui.cpp#L1139
CameraHistoryUpdater ask to DB if items are already imported :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/controller/camerahistoryupdater.cpp#L154
...and give feedback to GUI through this slot :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/main/cameraui.cpp#L1142
here, we pass to addItem() the relevant CamItemInfo with DB info. When
icon-view item is created :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/views/cameraiconview.cpp#L260
... it use this container to plug the right icon over thumbnail to idicate
download status :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/items/cameraiconitem.cpp#L285
Gilles
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/v2.9.0/entry/utilities/cameragui/main/cameraui.cpp#L1162
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list