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

            Bug ID: 474105
           Summary: Faces load sequentially, not showing existing face
                    thumbnails in the database until a previous one has
                    been generated
    Classification: Applications
           Product: digikam
           Version: 8.2.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Thumbs-IconView
          Assignee: digikam-bugs-n...@kde.org
          Reporter: iwannaber...@gmail.com
  Target Milestone: ---

SUMMARY
Ok, this is regarding a possible optimization when loading face thumbnails.

Face thumbnails only load when  you scroll through them (Bug 395241), and as
such, it is pretty common that when you see the faces for a specific person,
many thumbnails still need to be generated. Now, the most common scenario will
be one in which a person already has many of these thumbnails already generated
in the database plus some new thumbnails that still need to be generated (e.g.
let's say someone has 40 face regions, 30 with thumbnail in the db and 10 which
need to be generated).

The issue is the following: Face thumbnails load sequentially. That is, if
thumbnail #2 is needs to be generated, but thumbnails 3-15 are already present,
thumbnails 3-15 won't show until 2 has finish generating.

This is specially relevant when using a NAS or other slow network, since each
thumbnail can take 4-5 seconds to generate, so most of the thumbnails for a
person won't be visible until the few missing ones have been generated.

I think the ideal would be to first show all the available thumbnails,
regardless of the order, and then generate the missing ones.

Let me know if you need more details or it's not clear what I'm asking. Thanks!

STEPS TO REPRODUCE
1. Tag a person tagged with multiple face regions across many pictures.
2. View that person in the Face panel to generate the face thumbnails.
3. Tag some more faces for the same person.
4. View that person in the face panel once again

OBSERVED RESULT
Notice how the faces tagged in #1, already in the database, don't show the
thumbnail until the faces tagged in #3 have their thumbnail generated.

EXPECTED RESULT
First show the already generated thumbnails immediately, and then generate and
show the remaining ones.

SOFTWARE/OS VERSIONS
digiKam-8.2.0-20230902T115106-x86-64.appimage

Linux/KDE Plasma: Kubuntu 22.04 LTE
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
This is related to bug reports bug 395241, bug 461838, bug 444767 (is this a
duplicate?), and bug 395241.

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

Reply via email to