Bug 480532

Summary: 'All albums' Checkbox Doesn't Update 'X Albums Selected' Text
Product: [Applications] digikam Reporter: hardy.public
Component: Maintenance-SimilaritiesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:

Description hardy.public 2024-01-30 11:00:54 UTC
In the 'Search in:' tab of the Duplicates tool, it starts with:
- 'Albums (0)' -> 'No Album Selected'

After manually selecting five albums:
- 'Albums (5)' -> '5 Albums selected'

Then 'All albums' checkbox is then selected (~150 albums), it says:
- 'Albums (All)' -> '5 Albums selected'.

This is contradictory. The expectation here is that it says 'All Albums Selected' not '5 Albums selected'.
Comment 1 hardy.public 2024-01-30 11:02:58 UTC
Even bettter, the expectation here is that it says '150 Albums Selected' not '5 Albums selected'.
Comment 2 caulier.gilles 2024-01-30 12:11:54 UTC
digiKam for Windows, Linux, or MacOS ?
Comment 3 hardy.public 2024-01-30 12:35:36 UTC
(In reply to caulier.gilles from comment #2)
> digiKam for Windows, Linux, or MacOS ?

Apologies. Assumed wrongly that the Report Bug tool captured that info.
Comment 4 Maik Qualmann 2024-02-01 07:21:01 UTC
Git commit 9aee6581341e6394905566212751de1ac01b391e by Maik Qualmann.
Committed on 01/02/2024 at 07:20.
Pushed by mqualmann into branch 'master'.

set text in album selector when all albums selected
FIXED-IN: 8.3.0

M  +1    -1    NEWS
M  +35   -6    core/libs/album/widgets/albumselectcombobox.cpp
M  +5    -0    core/libs/album/widgets/albumselectcombobox.h
M  +2    -0    core/libs/album/widgets/albumselectors.cpp

https://invent.kde.org/graphics/digikam/-/commit/9aee6581341e6394905566212751de1ac01b391e