Bug 139383

Summary: konsole does not save session config
Product: [Applications] konsole Reporter: Troyo Boyo <troxor>
Component: generalAssignee: Robert Knight <robertknight>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.6.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Troyo Boyo 2006-12-30 02:52:53 UTC
Version:           1.6.5 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

To Reproduce:

All of this in one konsole window, starting from blank profile.

----(1.)----
$ find ~/.kde/ | grep konsole
./.kde/share/config/konsolerc
./.kde/share/apps/kicker/konsole.desktop
./.kde/share/apps/konsole
./.kde/share/apps/konsole/screen.desktop
./.kde/share/apps/RecentDocuments/konsole.desktop.desktop

$ find ~/.kde/ | grep konsole | xargs rm -fr

$

----(2.)----
$ watch cat ~/.kde/share/config/konsolerc
(there will be no file (duh) )

----(3.)----

Settings -> Save as Default

Notice that DefaultSession=shell.desktop

----(4.)----

Settings -> Configure Konsole
   Session Tab-> Select screen
   Apply, OK

Notice the DefaultSession=shell.desktop still!

----(5.)----

find ~/.kde | grep konsole
./.kde/share/config/konsolerc
./.kde/share/apps/konsole


Expected Behaviour:

DefaultSession=screen.desktop

(Manually changing this value and starting a new konsole results in desired operation)



Please let me know if I can give further information, or what else I can do to help!
There's no .kde/share/config/session/konsole either, just in case.
Comment 1 Robert Knight 2007-01-27 16:57:16 UTC
Hello Troy,

Clicking the "Apply" button in the Session Editor dialog just saves any changes to individual session settings.  It doesn't change the default session type.

In fact there isn't an obvious way to change the default session type from the GUI.  If there is UI-freeze lift for another 3.5.x release then I can add a button to the session editor to change the default session.

For KDE 4 I plan to overhaul the settings dialog to make this much more straightforward.
Comment 2 Robert Knight 2007-05-08 00:43:08 UTC
Fixed in KDE 4, whole new approach to managing profiles and choosing the default profile which should be easier to understand and work with.