Bug 468879

Summary: No feedback when importing large collection
Product: [Applications] digikam Reporter: Jan Uhlir <espinosa_cz>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Digikam shows no user feedback when importing a new large collection

Description Jan Uhlir 2023-04-23 21:01:00 UTC
Created attachment 158375 [details]
Digikam shows no user feedback when importing a new large collection

SUMMARY
There is no feedback back to the user that the import is being done. Import of a large collection can take many minutes and during all this time user is left completely in dark if process failed, or if it still running; if something is happening at all. 
Very poor UX experience. Can put off people from using Digikam on the very start.

Even worse, the import progress dialog announced "Processing is done", duration 00:00:00.
Clearly a bug there. Same happens if I do "refresh" of Album during the "invisible" import.

The only indication of the import in fact being under way were slowly, very slowly, appearing subdirectories under my new album.

I would expect some kind of hour-glass or rotating gears. Even better, explicit indication, ideally in some non-modal view, telling me that import is being done and what directory is being processed right now.


STEPS TO REPRODUCE
1. Find a large collection, mine is 237 GiB and with over 47K files. Non-removable media. 
    Even on fast NVMe SSD it can take 15 min for Digikam to import (hart to tell how long exactly for obvious reasons)
2. Settings -> Collections -> Root Album Folders -> Add Collection
3. Hit OK

OBSERVED RESULT
4. Import dialog tells you that job is done and soon disappears. But you don't see any of your collection files and directories, leaving you baffled what is happing and if you did something wrong. 
5. Album (collection) subdirectories and files start to slowly appear.

EXPECTED RESULT
I would expect some kind of hour-glass or rotating gears. Even better, explicit indication, ideally in some non-modal view, telling me that import is being done and what directory is being processed right now.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Thumbleweed, all up-to date, all latest versions.
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8 (X11)
Comment 1 Maik Qualmann 2023-04-24 14:00:16 UTC
digiKam shows a progress bar in the status bar for longer running tasks, which can also be expanded.

https://docs.digikam.org/en/main_window/interface_layout.html#the-status-bar

Maik

*** This bug has been marked as a duplicate of bug 389868 ***