Bug 415999

Summary: Progress bar goes backwards when tagging faces (from (100% to 0%)
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: ProgressManager-BatchAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles, iwannaberich, jose_oliver, metzpinguin, mike
Priority: NOR    
Version: 7.0.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 7.9.0

Description MarcP 2020-01-08 11:56:19 UTC
SUMMARY

This is just a minor cosmetic issue, but I thought of reporting it anyway. In the People panel, if you go to the Unknown section and select several faces and tag them with a name, the progress bar on the bottom will start at 100% and end at 0%. Everything still works just fine, it's just that the progress bar goes backwards.

STEPS TO REPRODUCE
1. Select several faces from the Unknown category in People.
2. Tag them with a name.
3. Observe progress bar.

OBSERVED RESULT
Goes from 100 to 0.

EXPECTED RESULT
Goes from 0 to 100.

SOFTWARE/OS VERSIONS
digikam-7.0.0-beta2-20200105T130918-x86-64.appimage in Ubuntu 18.04LTS with Unity.
Comment 1 Maik Qualmann 2020-01-08 13:30:17 UTC
If you open the progress manager, you will see that there are 2 processes in quick succession. The first jumps to 100, then the second starts at 0. In the overall display it looks as if it is going backwards.

Maik
Comment 2 MarcP 2020-01-08 13:44:35 UTC
Aha. It could be what you say. What I usually see, is a bar for each tagged image, and the one on top being the one that appears to go backwards.

Here is an example: https://imgur.com/a/OygbhZs
Comment 3 caulier.gilles 2022-01-09 04:04:01 UTC
Hi Marc and happy new year,

Can you reproduce the problem with the appimage bundle 7.5.0 pre-release available here :

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

Thanks in advance

Gilles Caulier
Comment 4 MarcP 2022-01-09 04:11:40 UTC
Hi Gilles, happy new year to you too. I have seen this behavior recently, but let me try the last appimage during these days and I'll confirm it.
Comment 5 MarcP 2022-11-30 21:17:54 UTC
Hi. Just to confirm this still happens in the 8.0.0 preview appimage. I have tagged lots of faces these days, and the progress bar goes backwards. Apparently it's just for faces, for normal tags, it goes from 0 to 100%.
Comment 6 Maik Qualmann 2022-12-01 21:17:34 UTC
Git commit b0663f0cd36088d81477675fde187fb6a601e054 by Maik Qualmann.
Committed on 01/12/2022 at 21:16.
Pushed by mqualmann into branch 'qt5-maintenance'.

fix progress bar value from the face engine
FIXED-IN: 7.9.0

M  +1    -1    NEWS
M  +1    -1    core/utilities/facemanagement/threads/facepipeline_p.cpp

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