Version: 0.9.1 svn (using KDE KDE 3.5.6) Installed from: SuSE RPMs when selecting/deselecting a tag from right side bar for the *last* image in an album, the tag ist not shown (or removed) with the thumbnail immediately after clicking "apply". After a click in the "thumbnail frame" the new tag is shown/removed tag removed. This behaviour is *only* for the *last* image in an album. All other images get updated immediately when clicking "apply".
SVN commit 635761 by mwiesweg: Also update the last visible item in AlbumIconView (Daniel, thanks for your very precise bug report) BUG: 141924 M +3 -1 albumiconview.cpp --- trunk/extragear/graphics/digikam/digikam/albumiconview.cpp #635760:635761 @@ -1953,7 +1953,7 @@ { AlbumIconItem *firstItem = static_cast<AlbumIconItem *>(findFirstVisibleItem()); AlbumIconItem *lastItem = static_cast<AlbumIconItem *>(findLastVisibleItem()); - for (AlbumIconItem *item = firstItem; item && item != lastItem; + for (AlbumIconItem *item = firstItem; item; item = static_cast<AlbumIconItem *>(item->nextItem())) { if (item->imageInfo()->id() == imageId) @@ -1961,6 +1961,8 @@ updateContents(); return; } + if (item == lastItem) + break; } }