Bug 382474 - Thumbnail regeneration
Summary: Thumbnail regeneration
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-dialog (show other bugs)
Version: 5.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-18 18:07 UTC by Holger
Modified: 2022-02-01 06:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 6.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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