[Digikam-devel] [digikam] [Bug 322789] Enabling "color managed view" in editor slows down tool startup

Peter Albrecht px79 at crazymonkeys.de
Sat Jan 4 15:22:52 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=322789

--- Comment #17 from Peter Albrecht <px79 at crazymonkeys.de> ---
Hi Gilles,

I tried some debugging. (I never wrote a KDE programm, nor did I debug one, so
I may be wrong).

When I open the "Brightness / Contrast / Gamma..." tool in Image Editor, gdb
comes along the following positions.

*** Position A:
digikam-3.5.0/core/utilities/imageeditor/editor/editortool.cpp, line 98
void EditorTool::init()
{
    QTimer::singleShot(0, this, SLOT(slotInit()));
}

*** Position B:
digikam-3.5.0/core/utilities/imageeditor/editor/editortool.cpp, line 414
void EditorToolThreaded::slotInit()
{
    EditorTool::slotInit();
    ...
}

Beeing at postion A (breakpoint) and pressing "continue" in KDevelop/GDB, I
have to wait 5 seconds, until position B (breakpoint) is reached. But I don't
know, why. I guess there are other events waiting in an eventloop. But I don't
know how to debug/find those. Do you have any hint/trick for me?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list