Bug 454768 - Progress bar is useless
Summary: Progress bar is useless
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 7.6.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 19:08 UTC by Roland Illig
Modified: 2022-06-03 10:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Illig 2022-06-02 19:08:37 UTC
SUMMARY
I am importing a photo collection of 100_000 photos, all in a single folder.
During this import, Digikam does not show the progress of the import in the progress bar at the bottom of the screen.
There is an entry in the progress bar named "Search new entries", but that progress bar is at 100%, so it cannot possibly represent the import, which currently is at 35_000 images out of 100_000 total.

STEPS TO REPRODUCE
1. Import a folder containing 100_000 images.

OBSERVED RESULT
There is no useful information in the progress bar.

EXPECTED RESULT
The progress bar contains a task named "Importing images".
This task can be paused. At least as long as digikam constantly crashes during an import. (At least I hope that digikam crashes only during an import, and not during normal operation. I am still not done with the initial import.)

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Maik Qualmann 2022-06-02 20:16:46 UTC
If you interrupted the first initial scan (digiKam closed) we no longer have the correct number of files to be scanned. For reasons of speed, we don't want to count all files on network drives every time, because it takes a long time and costs time unnecessarily. Just wait for the process to complete.

Maik
Comment 2 Maik Qualmann 2022-06-03 10:32:34 UTC
Git commit f3bea4ed37116dec353aefdbf35d5c67c7c92141 by Maik Qualmann.
Committed on 03/06/2022 at 10:31.
Pushed by mqualmann into branch 'qt5-maintenance'.

use file count as long as an initial scan has not been completed
FIXED-IN: 7.7.0

M  +1    -1    core/libs/database/collection/collectionscanner_utils.cpp

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