Bug 477994

Summary: Item count in Albums does not match pictures shown
Product: [Applications] digikam Reporter: Michael <michael.junker>
Component: Albums-TreeViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.3.0
Sentry Crash Report:

Description Michael 2023-12-03 15:13:21 UTC
SUMMARY
Item count in Albums does not match pictures shown in Thumbnails or Preview 


STEPS TO REPRODUCE
Prerequisites
	• Settings
		○ Image Editor
			. (enabled) Enable Non-Destructive Editing an Versioning
		○ Views | Tree-Views
			. (enabled) Show a count of Items in Tree Views
	• Have an album with one picture

1. Edit the picture and create a new version

OBSERVED RESULT
	• Thumbnails shows one picture
	• Preview shows one picture
	• Albums shows (2) for respective album

EXPECTED RESULT
	• Albums shows same number as pictures shown in Thumbnails or Preview

SOFTWARE/OS VERSIONS
Windows: Windows 10 Version 2009 (x86_64)


ADDITIONAL INFORMATION
-.-
Comment 1 caulier.gilles 2023-12-03 15:19:21 UTC
Please try with the last stable 8.2.0 just released :

https://www.digikam.org/news/2023-12-03-8.2.0_release_announcement/

Gilles Caulier
Comment 2 Maik Qualmann 2023-12-03 15:26:06 UTC
The behavior is correct and intended. 2 images are displayed in the album tree because there are 2 images in the album. In the status bar there is written 1 entry and 1 entry hidden. So also 2 images.

Maik