Bug 377127 - Wrong item count on years in Dates View
Summary: Wrong item count on years in Dates View
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Dates (show other bugs)
Version: 5.5.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-02 21:55 UTC by Barbara Scheffner
Modified: 2019-12-18 21:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara Scheffner 2017-03-02 21:55:52 UTC
The item count on one year "folder" says (0) although there are a lot of images in it. The month "folder" have correct counts. I found out so far that it happens to all year "folders" that were open when digiKam was closed last time.

Steps to reproduce:
- open a year in Dates View
- close digiKam
- start digiKam -> the count of the open year will be (0)
- close that year
- open one or more other years
- restart digiKam -> now the count of the first year (now closed) will be correct again, instead those you opened are now showing (0).
Comment 1 caulier.gilles 2019-03-20 15:16:01 UTC
After 3 weeks of work, i finally completed the compilation of AppImage using Qt
5.11.3 + QWebkit 5.212.

New 6.1.0 pre-release AppImage bundle can be found here (64 bits only for the
moment) :

https://files.kde.org/digikam/

Please check if this bugzilla entry still valid.

Thanks in advance

Gilles Caulier
Comment 2 Maik Qualmann 2019-12-18 21:17:57 UTC
Git commit 4aa4b52189e436d6488d14d122e33543672ac945 by Maik Qualmann.
Committed on 18/12/2019 at 21:16.
Pushed by mqualmann into branch 'master'.

fix wrong display of item counting in the date view
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +21   -6    core/libs/album/treeview/abstractalbumtreeview.h
M  +8    -5    core/libs/album/treeview/abstractcountingalbumtreeview.cpp
M  +1    -8    core/libs/album/treeview/datetreeview.cpp

https://invent.kde.org/kde/digikam/commit/4aa4b52189e436d6488d14d122e33543672ac945