https://bugs.kde.org/show_bug.cgi?id=406586

--- Comment #4 from caulier.gil...@gmail.com ---
Hi Kartik,

There is certainly a signal propagation missing between the GUI and the
database interface to represh the count of item in tree view.

Some pointers in source code :

https://invent.kde.org/kde/digikam/-/blob/master/core/app/views/sidebar/peoplesidebarwidget.cpp#L101

This is the instance of the face tree view tags based on keywords tree view.
The model is different of course and customized for face tags, even in face
tags are regulars tags in database, using special properties.

https://invent.kde.org/kde/digikam/-/blob/master/core/libs/tags/widgets/tagfolderview.cpp

This is the generic tags folder view implementations based on TagTreeView
class.

https://invent.kde.org/kde/digikam/-/blob/master/core/libs/album/treeview/tagtreeview.cpp

This is the low level Tag album tree view class.

https://invent.kde.org/kde/digikam/-/blob/master/core/app/views/utils/dmodelfactory.cpp#L70

This is the model used to managed face in tree view. Look the famous properties
about item count :

d->tagFacesModel->setTagCount(TagModel::FaceTagCount);

Best

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to