[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 09:12:59 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 10:12 -------
I have added this to imageeditor:

Index: utilities/imageeditor/editor/editorwindow.cpp
===================================================================
--- utilities/imageeditor/editor/editorwindow.cpp       (revision 832135)
+++ utilities/imageeditor/editor/editorwindow.cpp       (working copy)
 @ -1010,6 +1010,7  @

         menuBar()->show();
         statusBar()->show();
+        slotToggleShowBar();
         showToolBars();

         if (d->removeFullScreenButton)
 @ -1036,6 +1037,7  @
         // hide the menubar and the statusbar
         menuBar()->hide();
         statusBar()->hide();
+        thumbBar()->hide();

         if (d->fullScreenHideToolBar)
         {

But somehow it doesn't work. Right now I'm sitting here with gdb to find out what is happening. The problem is now that the thumbbar is always restored, even if the "View Thumbnails" action is turned off.
When running gdb and watching the execution of digiKam line by line, I can see that thumbBar()->hide() is called like it should be, but somehow the thumbbar is visible in the end.
I have no idea why... but this little patch fixes at least the general problem.



More information about the Digikam-devel mailing list