[Bug 141924] New: tags preview not updated in last image of album

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 141924] New: tags preview not updated in last image of album

Daniel Bauer-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141924         
           Summary: tags preview not updated in last image of album
           Product: digikam
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tags
        AssignedTo: digikam-devel kde org
        ReportedBy: linux daniel-bauer com


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".
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 141924] tags preview not updated in last image of album

Marcel Wiesweg
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141924         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From marcel.wiesweg gmx de  2007-02-20 21:52 -------
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;
     }
 }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel