Bug 113797

Summary: ALBUMTHUMBS : Album thumbnail refresh problem (not icon-view thumbs)
Product: [Applications] digikam Reporter: Tung NGUYEN <ntung>
Component: Thumbs-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: caulier.gilles, marcel.wiesweg, mgarski, ntung, simonandric5, varun.herale
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tung NGUYEN 2005-10-03 21:44:52 UTC
Version:           0.8.0-beta2 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
OS:                Linux

After importing a Photo1.jpg in an Album which contains already a (different) Photo1.jpg (with the menu Album->Import->Add Images...), its thumbnail is not updated immediately and if Photo1.jpg was used 'As Album thumbnail' then its Album thumbnail is not updated immediately too.
Comment 1 Marcin Garski 2006-02-08 14:42:40 UTC
I can confirm this on digiKam 0.8.1.
This could be confusing, user clicking on the overwrite button can think that images wasn't overwriten, because thumbnail wasn't updated.
Comment 2 Mikolaj Machowski 2007-08-12 22:51:25 UTC
Confirming for 0.9.3svn. Have to manually refresh or reenter album to replace old thumbnail.
Comment 3 caulier.gilles 2008-03-19 12:46:55 UTC
Mik,

Are you the same problem with 0.9.3 or current svn implementation ?

Gilles Caulier
Comment 4 Mikolaj Machowski 2008-04-03 18:41:24 UTC
Confirming for 0.9.4svn (ver. 793314)

After importing image with the same name:
a) thumbnail is properly shown only after reentering of album
b) if this image was selected for album thumbnail this is visible only after restart of digiKam
Comment 5 caulier.gilles 2008-04-03 19:10:56 UTC
Thanks mik,

Marcel, it's another problem with KDirWatch or an AlbumManager race condition ?

Gilles Caulier
Comment 6 Andi Clemens 2008-10-14 21:52:15 UTC
I still can confirm this, thumbnails are not updated when importing images with an already used filename. Switching to another album and back will update the thumbnails in album icon view, but not the album thumbnail itself. After restarting digiKam the album thumbnail is updated, too.

Andi 
Comment 7 caulier.gilles 2008-12-04 15:38:56 UTC
Andi,

This still valid with 0.10.0 ?

Gilles
Comment 8 Andi Clemens 2008-12-04 15:45:01 UTC
Yes... just checked it.
Comment 9 Andi Clemens 2009-10-08 00:37:47 UTC
The thumbnail is now updated when importing into an album, but if the image that is overwritten was the album thumbnail, you still need to restart digiKam to see an effect.
Comment 10 caulier.gilles 2011-12-12 12:17:56 UTC
It still valid with 2.4.0 release ?

Gilles Caulier
Comment 11 caulier.gilles 2012-01-25 13:43:02 UTC
Andi, 

can you check if this entry still valid with current implemntation from git/master ?

Gilles Caulier
Comment 12 Varun Herale 2012-04-15 10:45:41 UTC
If a photo with same name is imported into an album, its thumbnail is updated immediately. This problem appears to be solved.

But if it is set as Album Thumbnail, then the Album Thumbnail alone is not updated until after digikam is restarted.
Comment 13 caulier.gilles 2013-12-04 17:01:56 UTC
I can confirm the pending problem from comment #12

Gilles Caulier
Comment 14 caulier.gilles 2016-07-06 14:01:50 UTC
This problem still valid using last digiKam 5.0.0 ?

Gilles Caulier
Comment 15 caulier.gilles 2020-08-03 04:56:04 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 16 caulier.gilles 2023-04-20 05:48:24 UTC
Hi Varun,

digiKam 8.0.0 is out. Problem #2 listed in comment #12 still reproducible ?

Best regards
Gilles Caulier