[Digikam-devel] [Bug 166472] Thumbnail bar gone in image editor when switching back from fullscreen

Andi Clemens andi.clemens at gmx.net
Mon Jul 14 11:23:27 BST 2008


------- 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=166472         




------- Additional Comments From andi.clemens gmx net  2008-07-14 12:23 -------
I found the problem. In http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp#1003 the virtual method toggleGUI2FullScreen() is called, which has been overwritten in ImageEditor class (without implementation), but somehow it is called anyway.
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp#819
So disabling the method call works... showFoto also re-implements the code in  toggleGUI2FullScreen(), but never calls it. And it seems to re-implement the same code defined before in the ImageWindow class. So I think this is wrong.
Question is should this method be removed from both showFoto and EditorWindow and if not, why is showFoto implementing the same code?
And is the code in ImageWindow class really right? Why enable thumbBar if it is disabled in the ToggleAction?

Andi



More information about the Digikam-devel mailing list