Bug 121423

Summary: Rename file loses Album thumbnail
Product: [Applications] digikam Reporter: Benoit DUMONT <vertigo17>
Component: Thumbs-AlbumAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.0
Attachments: snapshot1
snapshot2
snapshot3

Description Benoit DUMONT 2006-02-05 15:04:48 UTC
Version:           0.8.0 (using KDE 3.4.2, Mandrake Linux Cooker i586 - Cooker)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.12-12mdksmp

When I rename a file that is already set up as the thumbnail picture of an album, the thumbnail disappear..
Comment 1 caulier.gilles 2006-04-03 23:23:14 UTC
I cannot reproduce this problem. can you discribe better your action ?

Caulier Gilles
Comment 2 Benoit DUMONT 2006-04-05 18:51:23 UTC
No problem:
I select an album.
I pick a photo in this album and set it as the Album Thumbnail.
The Album Folder is replaced by this thumbnail. --> Fine (Snapshot1)
Then I rename the same photo with a different name. --> Here the display is still fine (but probably because not refreshed) (Snapshot2)
Then I select a different album and back the original album --> The folder thumbnail is lost the default folder is displayed (Snapshot3)

Probably that when renaming the file you forgot to update the thumbnail field at the album level that still point to the former filename.
Comment 3 Benoit DUMONT 2006-04-05 18:52:27 UTC
Created attachment 15480 [details]
snapshot1
Comment 4 Benoit DUMONT 2006-04-05 18:53:07 UTC
Created attachment 15481 [details]
snapshot2
Comment 5 Benoit DUMONT 2006-04-05 18:53:35 UTC
Created attachment 15482 [details]
snapshot3
Comment 6 Benoit DUMONT 2006-08-29 22:26:46 UTC
I mark this bug as solved as I cannot reproduce it under digikam 0.9.0-svn