[Kde-imaging] [Bug 135484] Thumbnail generation for multible images can cause severe overload

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Oct 13 12:24:27 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135484         




------- Additional Comments From marcel.wiesweg gmx de  2006-10-13 12:24 -------
Created an attachment (id=18107)
 --> (http://bugs.kde.org/attachment.cgi?id=18107&action=view)
Debug statements

So is there a problem or not? ;-)
If there is, you find attached a patch that outputs debug messages from main
thread and loading thread. Output should look like

digikam: MainThread: ManagedLoadSaveThread::load, creating load request for
/media/fotos/Andalusien 2004/pict0053.jpg
digikam: Main thread: Now leaving ManagedLoadSaveThread::load
digikam: Loading image in thread
digikam: Doing the real work in thread, loading /media/fotos/Andalusien
2004/pict0053.jpg
digikam: /media/fotos/Andalusien 2004/pict0053.jpg : JPEG file identified
digikam: Posting loaded event for /media/fotos/Andalusien 2004/pict0053.jpg to
0x867b528
digikam: Received event of type 1000
digikam: Received event of type 1000
digikam: Received event of type 1000
digikam: Received event of type 1000
digikam: Main thread: This is the loaded event. Now the signal is sent from
LoadSaveThread
digikam: Main thread: DImgInterface::slotImageLoaded. The image data has
arrived, now display it

It's most interesting if you observe delays and watch the console at the same
time to see when the delay occurs.

Btw: The image editor does _not_ use the digikampreview ioslave. What you
observe is: When you change the picture in IE, it notifies the main view, which
marks the new picture as active, which triggers the start of the preview
ioslave.


More information about the Kde-imaging mailing list