Bug 121688

Summary: Tab bar shown when set to Dynamic Hide after session restore
Product: [Applications] konsole Reporter: David Leggett <david+bugs+kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.6   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Leggett 2006-02-10 03:17:50 UTC
Version:           1.6 (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

If i have a konsole which has one "tab" and Dynamic Hide is on (so no tab bar is shown at this moment) and this konsole is open when i log out. After the session is restored the tab bar is shown but the dynamic hide option is still checked.

I can hide the tab bar again by toggling dynamic hide off then on again or by creating a new tab and closing it.
Comment 1 Kurt Hindenburg 2006-02-12 21:30:00 UTC
SVN commit 508819 by hindenburg:

Fix DynamicTabHide for session management.

BUG: 121688 


 M  +1 -1      konsole.cpp  


--- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #508818:508819
@@ -302,7 +302,7 @@
   if (isRestored) {
     n_tabbar = wanted_tabbar;
     KConfig *c = KApplication::kApplication()->sessionConfig();
-    c->setDesktopGroup();
+//    c->setDesktopGroup();      // Reads from wrong group
     b_dynamicTabHide = c->readBoolEntry("DynamicTabHide", false);
   }