Bug 303693

Summary: Inability to remove orphaned thumbnails in album through GUI.
Product: [Applications] digikam Reporter: Jason R. <jrsofty>
Component: Thumbs-BarViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.8.0

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.