Bug 426346

Summary: People display is garbled.
Product: [Applications] digikam Reporter: kdeb
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description kdeb 2020-09-09 18:24:47 UTC
Problem started in 7.2. 

I have a bunch of faces in the album many known some unknown. 

In people if select the Unknown tag I get a single banner at the top of the thumbnail display saying "Unknown 1,401 items".

If I click on the top level people tag I get a single banner saying "Unknown 5,305 Items". 

If I then apply a MIME Type filter for jpeg files (many of the faces are in raw files) I get a whole bunch of misplaced banners in the thumbnail display area for various know faces with incorrect counts most banners are drawn over the thumbnail images. 

Selecting a single face tag under people seems to produce an OK display with correct banner at the top.
Comment 1 Maik Qualmann 2020-09-10 06:06:15 UTC
Yes, the problem is clear, the face categories are not unique. The same problem that we had earlier with the date view.

Maik
Comment 2 Maik Qualmann 2020-09-13 16:21:33 UTC
Git commit f3e91a6880e0919301b1673a1c5206e6f4a06345 by Maik Qualmann.
Committed on 13/09/2020 at 16:20.
Pushed by mqualmann into branch 'master'.

first step to fix face categories
FIXED-IN: 7.2.0

M  +1    -1    NEWS
M  +33   -13   core/libs/database/models/itemfiltermodel.cpp
M  +62   -11   core/libs/database/models/itemsortsettings.cpp
M  +7    -3    core/libs/models/albumfiltermodel.cpp
M  +1    -0    core/libs/models/itemalbumfiltermodel.cpp

https://invent.kde.org/graphics/digikam/commit/f3e91a6880e0919301b1673a1c5206e6f4a06345