[Digikam-devel] [Bug 172269] Digikam hangs for around 20-60 seconds when starting

Gilles Caulier caulier.gilles at gmail.com
Mon Oct 6 17:34:45 BST 2008


http://bugs.kde.org/show_bug.cgi?id=172269





--- Comment #11 from Gilles Caulier <caulier gilles gmail com>  2008-10-06 18:34:43 ---
Arnd,

Yes, it's a scan problem at startup, not a sqlite lock... i think.

To be more clear, we cannot compare KDE3 with KDE4 implementation: Marcel as
re-written scanning code. In KDE3 this class is used :

http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/digikam/scanlib.h?revision=788153&view=markup

...and have been removed by this code :

http://websvn.kde.org/trunk/extragear/graphics/digikam/digikam/scancontroller.h?revision=861865&view=markup

Which is slitly different. scancontroller for ex, can be multithreaded against
scanlib no...

But of course, the same behaviour at start up must be the same. 

It look like scancontroler check, parse, and records all DB items each time and
try to find new items, where scanlib only check and records new items in DB as
well. 

But i can be wrong here. I don't have checked Marcel code...

Gilles


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list