GNOME Bugzilla – Bug 627776
Session state restoring is broken in 2.31.90
Last modified: 2010-08-25 20:26:49 UTC
Hi. With the most recent upgrade (version 2.31.90) of gnome-terminal on ubuntu 10.10, my session state (opened terminals in workspaces, tabs in terminals, etc.) is not restored on login. I rely heavily on the terminals I've opened and their tabs for my development and it is very bad for me to lose my session this way. Luckily, I had a backup of my session files and I downgraded to the previous version of gnome-terminal which fixed my problem. It's probably not serious, but I thought I would file a bug just to make sure the issue is known.
Does it restore the saved state correctly if you do this with the session state file (let's call it test.ini): gnome-terminal --disable-factory --load-session /path/to/test.ini ? And same without the --disable-factory ?
It does restore, with and without the '--disable-factory' (I used `gnome-terminal [--disable-factory] --load-config /path/to/desktop/file'). Thanks. However, for some reason, it did not restore to the various workspaces though that's not very important. Now, the only issue I have is that the session is not restored when I logout and re-login. I'll attach the ~/.config/session-state/gnome-terminal-*.desktop and the pertinent desktop file in ~/.config/gnome-session/saved-session/.
Created attachment 168604 [details] ~/.config/session-state/gnome-terminal-*.desktop
Created attachment 168605 [details] Desktop file in ~/.config/gnome-session/saved-session/
Hmm. Does restoring work if you use the command from the Exec= key in attachment 168605 [details] ? (You need to add --disable-factory to it for the test, since session manager options are only parsed for initial startup.)
It does with the '--disable-factory' option. Without it restoration does not work. If the option is in the Exec= key in the file, it also works, but if it is not included in the file it does not.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.