Bug 111876

Summary: Option "Hide toolbar in fullscreen mode" does not hide the toolbar in fullscreen mode
Product: [Applications] digikam Reporter: Tung NGUYEN <ntung>
Component: Showfoto-SetupAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, ntung
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0

Description Tung NGUYEN 2005-09-01 12:27:26 UTC
Version:           0.3.0-cvs (packaged with Digikam 0.8.0-beta1) (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
OS:                Linux

I have checked the option "Hide toolbar in fullscreen mode" but I can always see the toolbar in fullscreen mode (it works fine in the Digikam Image Editor).
Comment 1 caulier.gilles 2005-09-01 13:49:12 UTC
SVN commit 455800 by cgilles:

BugFix : Hide properly ToolBar in FullScreen mode.
CCBUG: 111876

 M  +6 -3      showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #455799:455800
@@ -941,11 +941,14 @@
         if (!m_showBarAction->isChecked())
             m_bar->show();
 
-        QObject* obj = child("mainToolBar","KToolBar");
+        QObject* obj = child("ToolBar","KToolBar");
         if (obj)
         {
             KToolBar* toolBar = static_cast<KToolBar*>(obj);
-            toolBar->show();
+            if (m_fullScreenAction->isPlugged(toolBar))
+                m_fullScreenAction->unplug(toolBar);
+            if (toolBar->isHidden())
+                toolBar->show();
         }
 
         m_fullScreen = false;
@@ -965,7 +968,7 @@
                 m_fullScreenAction->plug(m_bar);
         }
 
-        QObject* obj = child("mainToolBar","KToolBar");
+        QObject* obj = child("ToolBar","KToolBar");
         if (obj)
         {
             KToolBar* toolBar = static_cast<KToolBar*>(obj);
Comment 2 caulier.gilles 2005-09-01 14:08:14 UTC
*** Bug has been marked as fixed ***.