Version: cvs (using KDE KDE 3.3.2) Installed from: Debian testing/unstable Packages Compiler: gcc 3.3.5 OS: Linux If you "Move to Trash" an image or delete an image in konqueror with the associated album selected in digikam the image thumbnail is removed but the album banner displays the old count still.
CVS commit by pahlibar: update image count after file removal BUGS: 100991 M +1 -0 albumiconview.cpp 1.110 --- kdeextragear-3/digikam/digikam/albumiconview.cpp #1.109:1.110 @@ -1955,4 +1955,5 @@ void AlbumIconView::slotRearrange() return; + updateBanner(); slotUpdate(); }
Created attachment 10005 [details] possible fix I am not very familiar with the digikam source but the attached patch might help. You are deleting the item but not updating the banner.
Thanks for your Patch, but sadly Renchi was a little bit faster with his his patch. Actually this patch was done three times - you, renchi and me :) But patches are always welcome, so go ahead and pick up the next one :-)
Not as quick as I used to be now that I have offspring. Noticed that Renchi already fixed this AFTER I submitted my fix. I plan on making a plugin to add the date based on the exif info to a photo. So you might see more from me. I would recommend that the call to updateBanner() be consolidated so that it is not called too often, just a thought. As well on a curious note, why is there no documentation?? other than only a few comments in the code. Anyhow love the app, keep up the good work. Mark