Bug 153798

Summary: bad calculation of images in recursive showed albums
Product: [Applications] digikam Reporter: Mikolaj Machowski <mikmach>
Component: Albums-TreeViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mikolaj Machowski 2007-12-10 20:34:01 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc4.3 
OS:                Linux

Apply (at least) to 746947 (kde3 branch) with album count patch rev. 20

Number of images in recursively shown albums is miscalculated. This is about number in left corner of status bar, eg.: file.jpg (2 of 2630). Problem is that 2630 isn't accurate sum. Proper number is 2632 and it is correctly calculated by album count patch. When number of images in branch is between 1000 and 2000 mismatch is one number less (1731 in status bar, 1732 in album tree - again corrent number is in album tree). Both numbers are correct when there is less than 1000 images in branch.
Comment 1 Mikolaj Machowski 2007-12-10 21:35:21 UTC
One correction: I am not sure which number is correct. Album count is proper sum of numbers from subalbums, but maybe there is some fault?
Comment 2 caulier.gilles 2008-12-05 13:01:19 UTC
Mik,

What's news about this files ? it still valid using 0.9.4 or 0.10.0 ?

Gilles Caulier
Comment 3 Mikolaj Machowski 2008-12-05 22:26:45 UTC
Still exists in 0.9.5svn
Comment 4 Mikolaj Machowski 2008-12-07 01:51:18 UTC
Fixed for 0.10. Closing.