Bug 303693 - Inability to remove orphaned thumbnails in album through GUI.
Summary: Inability to remove orphaned thumbnails in album through GUI.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-BarView (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 17:23 UTC by Jason R.
Modified: 2017-07-29 07:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason R. 2012-07-17 17:23:49 UTC
When DigiKam has scanned an album and found images, and then those images are deleted from the folder from outside DigiKam, then the database still keeps the entry. Rebuilding the thumbnails does nothing to rid the database of the entry. The only way to do this with out editing the database directly, is to remove the album and re-add it but that's not very efficent.

Reproducible: Always

Steps to Reproduce:
1. Scan an album.
2. Close DigiKam 
3. Open File system and delete an image from the scanned album directly.
4. Start DigiKam again and view the album. The thumbnail is still there but, the file behind it is no longer available.
5. Attempting to delete the thumbnail from DigiKam now throws an error that the file doesn't exist, but the thumbnail is still present.
6. Rebuild the thumbnails for the album. Afterward the thumbnail is gone but there is still a square showing where it should be and the entry is still there.


Expected Results:  
Either, when I attempt to delete the thumbnail, and the file is no longer present then the thumbnail should be removed as well, or when I rebuild the thumbnails for the album and the file is no longer present then the entry should be removed from the database.
Comment 1 Marcel Wiesweg 2012-07-17 19:34:10 UTC
Did you enable Rescan at startup? Try F5 in the album.
Comment 2 Jason R. 2012-07-18 05:29:03 UTC
Looks like it does work. Strange, I couldn't get it working earlier. Thanks for the help.