Bug 413923

Summary: The peoples list shows just one line of height (one name) when expanded for the first time
Product: [Applications] digikam Reporter: Andreas <andreas.jansson>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: andreas.jansson, caulier.gilles, metzpinguin
Priority: NOR    
Version: 6.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:
Attachments: The people tree. The way it looks like when expanded for the FIRST time. Just one name fits in view.
The same test in the newest version (6.4.0).

Description Andreas 2019-11-07 18:48:24 UTC
Created attachment 123783 [details]
The people tree. The way it looks like when expanded for the FIRST time. Just one name fits in view.

SUMMARY
The people tags tree that can be expanded from the window where you add people tags, is too small when expanded the *first* time. It just shows one name, and the scroll bar is tiny, and unusable. Closing the people list, and expanding it again, everything is as it should be.

STEPS TO REPRODUCE
1. Add a new face region
2. Expand the peoples list by pressing the down-button.
3. 

OBSERVED RESULT
The expanded window, that shows existing people tags is just one line of height. This is only true at the first click. Closing and expanding it again, you get to see a lot of more names in a higher window. 

EXPECTED RESULT
Expanding the peoples list needs to show more names, even the first time it opens.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-11-07 21:27:22 UTC
One student worked on improvements to the face workflow during GSoC 2019. This problem can no longer be reproduced here. I close the bug.

Maik
Comment 2 Andreas 2019-11-12 11:50:58 UTC
Created attachment 123860 [details]
The same test in the newest version (6.4.0).
Comment 3 Andreas 2019-11-12 11:52:04 UTC
I now installed 6.4.0, and the behaviour is the same as in 6.0.3, for which it was initially reported. 

It's when expanding the tree for the first time. Please see image attached.
Comment 4 Maik Qualmann 2019-11-12 12:28:07 UTC
The bug was closed for digiKam-7.0.0, unfortunately the improvements are not included in digiKam-6.4.0.
Tested at home with digiKam-7.0.0 there were no problems with the size. However, here at the work with a Windows version of digiKam-7.0.0 the issue is still to reproduce. I open the bug again.

Maik
Comment 6 caulier.gilles 2019-12-23 15:16:18 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 7 caulier.gilles 2019-12-25 18:16:09 UTC
I cannot reproduce this problem using 7.0.0-beta1.

I close this file now. Don't hesitate to re-open if necessary.

Gilles Caulier
Comment 8 Maik Qualmann 2019-12-27 20:25:15 UTC
Git commit 3d56943b33495a1374e3d185844ffb80eb99cbdf by Maik Qualmann.
Committed on 27/12/2019 at 20:23.
Pushed by mqualmann into branch 'master'.

try with set combobox max view items to 10
Related: bug 380336

M  +1    -0    core/libs/tags/widgets/addtagscombobox.cpp

https://invent.kde.org/kde/digikam/commit/3d56943b33495a1374e3d185844ffb80eb99cbdf