Bug 316865

Summary: SCAN : Add new option to don't scan file bigger than n Mb or stop scan if longer than n seconds
Product: [Applications] digikam Reporter: julien.t43+kde
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.0
Sentry Crash Report:

Description julien.t43+kde 2013-03-16 20:24:25 UTC
Digikam 3.0.0 from ppa on lubuntu 12.04 on netbook.

When starting digikam with the scan or displaying metadata infobubbles, digikam can take a very long time on some images, especially if you have a slow computer.

A settings to ignore those files in batch actions (unless asked otherwise) and deferred them at user convenience, would be a good improvement for little computer.

Ex: Digikam ressources limit for batch actions/initial scan
skip file bigger than (default)30MB
skip file if processing takes more than (default)10min

Of course, need to add to batch manager an option disable or deferred ressources limit (in first case, processing everything normally, in second, do big things after the small ones)

Reproducible: Always
Comment 1 Maik Qualmann 2019-09-15 06:53:39 UTC
Git commit e6e76cf0cf8b34f028511958070f98f457eef81a by Maik Qualmann.
Committed on 15/09/2019 at 06:47.
Pushed by mqualmann into branch 'master'.

less locked database during the initial scan
Related: bug 389949, bug 411927
FIXED-IN: 6.4.0

M  +3    -1    NEWS
M  +8    -4    core/libs/database/collection/collectionscanner_scan.cpp

https://invent.kde.org/kde/digikam/commit/e6e76cf0cf8b34f028511958070f98f457eef81a