[Digikam-devel] [Bug 181964] Image Editor's "fit-to-window" is broken when invoking a filter

Gilles Caulier caulier.gilles at gmail.com
Mon Jan 26 10:25:11 GMT 2009


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





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-01-26 11:25:10 ---
Note: there are 2 cases: editor tool is use image preview widget with zomming
feature (sharp for ex.) or not (curves for ex.).

With Sharp tool:

1/ fit to window in editor, start sharp tool => fit to window action is
disabled

2/ apply sharp tool => fit to window action is enabled and zoom level restored
(it can be changed a little but this is duing to right sidebar splitter size
changes.

With Curves tool: like there is no zooming feature here, zoom+ and zoom-
actions must be disabled (this is not the case, but actions do not have effect)

All interaction betwen zoom action and tool are here :

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editorstackview.cpp

Code to switch on/off standard action in editor is here :

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp#973

...and is called by:

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editortooliface.cpp#098
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editortooliface.cpp#109

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