Comment 11 for bug 34321

Revision history for this message
Christian Göbel (christiangoebel) wrote : Re: should not write the session when changing automatic session saving option

This bug is still present.
I just installed Ubuntu 7.04 on my intel386 laptop to test if this bug is still present with Gnome 2.18.1.
There is a slight change in the misbehavior, compared to former misbehavior: Now the session
dialog box is not saved anymore at the moment when the the "Automatically save changes to the session" is unselected.
However the session is still saved at that moment.

To produce this bug I did the following:
1. Boot into Gnome
2. Open Nautilus
3. Select "Automatically save changes to the session" in the System/Sessions/Session Options dialog.
4. Log out and log in again
result: as expected Nautilus is opened after login in.
5. Open in addition the Gedit Text-editor.
6. unselect "Automatically save changes to the session" in the System/Sessions/Session Options dialog.
7. Log out and log in again
result: Nautilus and the Text-editor are opened exactly as they have been at the moment at which I have unselected
the "Automatically save changes to the session"
expected results: getting a plain standard desktop after the login (without open gnome-application).

It seems like at the exact moment when unselecting the save-session option the session is saved for a last time and this
session is reestablished after each log-in.
Probably the file ~/.gnome2/session should just be deleted at the moment where the option is unselected.

However, since now there is the option "Save the current session" in the System/Session/Session Options dialog it is easy
to get back to the default desktop. In my case it was sufficient to close Nautilus and Gedit and to click on "Save the current session".
Thanks a lot to the developers to add this very useful option.