[Digikam-devel] [Bug 221933] menu disbabled when F4 in digikam and e.g. sharpening was previously open
Jens Mueller
tschenser at gmx.de
Tue Jan 12 23:11:36 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=221933
Jens Mueller <tschenser at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tschenser at gmx.de
--- Comment #3 from Jens Mueller <tschenser gmx de> 2010-01-13 00:11:33 ---
I investigate a little bit time in this, hope that helps:
First ImageWindow::loadCurrentList is called. This function triggers a Qtimer
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp#594
Afterwards EditorToolIface::unloadTool is called, this enables all KActions
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editortooliface.cpp#121
Now ImageWindow::slotLoadCurrent from first Step is executed, this function
call Canvas::load at
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp#603
Canvas::load call EditorWindow::slotPrepareToLoad and this disables all
KActions again at
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp#1431
Because the Image was already loaded, no finishLoad and enabling all actions
take place.
Jens
--
Configure bugmail: https://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