Bug 382474

Summary: Thumbnail regeneration
Product: [Applications] digikam Reporter: Holger <hbadorre>
Component: AdvancedRename-dialogAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Holger 2017-07-18 18:07:16 UTC
While simply renaming photos (by selecting photos and press F2, no batch processing), it seems that the thumbnail is regenerated. It would be much faster if the database entry in thumbnails-digikam.db is refreshed, so that thumbnail regeneration is not necessary.
Comment 1 Maik Qualmann 2018-05-28 20:29:16 UTC
Git commit 24ec6a3bdcf7f4b5ed50ecd38bd9bc7682649ded by Maik Qualmann.
Committed on 28/05/2018 at 20:26.
Pushed by mqualmann into branch 'master'.

speed up renaming the image and rename the thumbnail path
Related: bug 393205

M  +7    -0    core/libs/database/coredb/coredb.cpp
M  +6    -0    core/libs/database/coredb/coredb.h
M  +14   -0    core/libs/database/item/imageinfo.cpp
M  +6    -0    core/libs/database/item/imageinfo.h
M  +7    -0    core/libs/database/thumbsdb/thumbsdb.cpp
M  +2    -0    core/libs/database/thumbsdb/thumbsdb.h
M  +22   -14   core/libs/database/utils/dio.cpp

https://commits.kde.org/digikam/24ec6a3bdcf7f4b5ed50ecd38bd9bc7682649ded
Comment 2 Maik Qualmann 2018-05-29 16:46:41 UTC
Git commit 35e125ac8445e9e77db75e85aa0d4e53ab7a0e36 by Maik Qualmann.
Committed on 29/05/2018 at 16:45.
Pushed by mqualmann into branch 'master'.

fix rename by overwrite
Related: bug 393205
FIXED-IN: 6.0.0

M  +3    -1    NEWS
M  +1    -0    core/libs/album/albummanager.cpp
M  +3    -3    core/libs/database/coredb/coredb.cpp
M  +1    -1    core/libs/database/coredb/coredb.h
M  +1    -1    core/libs/database/item/imageinfo.cpp
M  +1    -0    core/libs/database/models/imagelistmodel.cpp
M  +11   -1    core/libs/database/utils/dio.cpp
M  +1    -0    core/libs/models/imagealbummodel.cpp
M  +1    -0    core/utilities/queuemanager/views/queuelist.cpp

https://commits.kde.org/digikam/35e125ac8445e9e77db75e85aa0d4e53ab7a0e36