Bug 121688 - Tab bar shown when set to Dynamic Hide after session restore
Summary: Tab bar shown when set to Dynamic Hide after session restore
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Unclassified
Component: general (show other bugs)
Version: 1.6
Platform: Debian testing Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 03:17 UTC by David Leggett
Modified: 2006-02-12 21:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);
   }