Bug 449023 - Allow display of absolute progress instead of relative when generating thumbs / scanning images
Summary: Allow display of absolute progress instead of relative when generating thumbs...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: ProgressManager-Engine (other bugs)
Version First Reported In: 7.5.0
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-23 17:44 UTC by Oliver
Modified: 2025-12-22 02:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver 2022-01-23 17:44:00 UTC
The current progress bar is hard to read when pausing/resuming scans.
My Scenario is, that I have a collection, lets say 10k images, on a network share which I want to generate thumbnails for. I abort after 5k images.
When generating thumbnails again (and skipping already indexed images) The progress bar still starts at 0%, moving slowly. It would be nice to have an option to see the total amount of images scanned/left to get a better understanding of the progress.
Comment 1 caulier.gilles 2022-01-23 17:47:00 UTC
Which kind of database did you use ? sqlite, Mysql intenal, or mysql server ?

Gilles Caulier
Comment 2 caulier.gilles 2022-01-23 17:47:48 UTC
Also, did you use a local database for thumbnail, in case of mysql server ?
Comment 3 Oliver 2022-01-23 17:51:23 UTC
Hi Gilles,
I am using MySQL as a remote database (hosted on another system) and a local database file for the thumbnails.
Comment 4 Maik Qualmann 2022-01-23 18:05:59 UTC
A long time ago we had a patch from a user that showed the current and total value. But I can't find the bug report at the moment. It didn't look good when there were numbers that long and it also stretched the progress bar. So you would have to abbreviate 45500 to 45K etc.

By the way, you don't have to generate the thumbnails in the maintenance tool. It can also be done simply on the fly while working with images, although the first view of images is a bit slower, the next time they come from the DB.

Maik
Comment 5 Oliver 2022-01-23 18:14:31 UTC
A possible solution for the bad look may be to only show the absolute numbers in the extended progress bar. There should be enough space to display even two 6 digit numbers in my opinion.
The "on the fly" generation is not really a great option for my use case as the network share I'm using has some delay and it takes some time to generate the thumbnails from there. I would like to generate the thumbnails in advance (in the background when I do other work) on my local disk so I can work fast afterwards and only have to wait when loading a full resolution image.
If there already is a an old pull request it may be also a possibility to make this feature optional over the settings tab.