Bug 269577 - THUMBDB : When an image is deleted its thumbnail is not deleted from the db.
Summary: THUMBDB : When an image is deleted its thumbnail is not deleted from the db.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Thumbs (show other bugs)
Version: 1.8.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 23:36 UTC by pochini
Modified: 2022-01-12 13:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pochini 2011-03-27 23:36:13 UTC
Version:           1.8.0 (using KDE 4.5.0) 
OS:                Linux

After an image is deleted its thumbnail is still in the thumbnails-digikam.db

Reproducible: Always

Steps to Reproduce:
Select a pic.
Hit del key.
Confirm.
Do sqlite3 <path>/thumbnails-digikam.db
SELECT * FROM FilePaths WHERE path LIKE '%/name-of-the-deleted-picture';
You'll see that the thumbnail of the deleted picture is still there.
Comment 1 Marcel Wiesweg 2011-05-23 21:09:55 UTC
we'd need some sort of garbage collector for the thumbnails db. As there is no guaranteed 1:1 mapping thumbnails -> original, the thumb is not automatically deleted.
Comment 2 caulier.gilles 2011-12-15 08:53:40 UTC
Pochini,

This file still valid using digiKam 2.x serie ?

Gilles Caulier
Comment 3 caulier.gilles 2014-08-29 22:27:45 UTC

*** This bug has been marked as a duplicate of bug 317210 ***
Comment 4 caulier.gilles 2022-01-12 13:16:26 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=317210