After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627776 - Session state restoring is broken in 2.31.90
Session state restoring is broken in 2.31.90
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-23 22:02 UTC by José Alburquerque
Modified: 2010-08-25 20:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
~/.config/session-state/gnome-terminal-*.desktop (8.36 KB, text/plain)
2010-08-24 04:05 UTC, José Alburquerque
Details
Desktop file in ~/.config/gnome-session/saved-session/ (795 bytes, text/plain)
2010-08-24 04:07 UTC, José Alburquerque
Details

Description José Alburquerque 2010-08-23 22:02:40 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.
Comment 1 Christian Persch 2010-08-23 22:28:44 UTC
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 ?
Comment 2 José Alburquerque 2010-08-24 04:04:01 UTC
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/.
Comment 3 José Alburquerque 2010-08-24 04:05:28 UTC
Created attachment 168604 [details]
~/.config/session-state/gnome-terminal-*.desktop
Comment 4 José Alburquerque 2010-08-24 04:07:16 UTC
Created attachment 168605 [details]
Desktop file in ~/.config/gnome-session/saved-session/
Comment 5 Christian Persch 2010-08-24 13:20:12 UTC
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.)
Comment 6 José Alburquerque 2010-08-24 17:16:25 UTC
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.
Comment 7 Christian Persch 2010-08-25 20:26:49 UTC
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.