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 579208 - Doesn't restore all tabs / windows on next session
Doesn't restore all tabs / windows on next session
Status: RESOLVED DUPLICATE of bug 575308
Product: gnome-terminal
Classification: Core
Component: general
2.26.x
Other All
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-16 19:42 UTC by Chris Coulson
Modified: 2009-09-03 10:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Desktop file in ~/.config/gnome-session/saved-session (805 bytes, text/plain)
2009-04-16 19:43 UTC, Chris Coulson
Details
State file (793 bytes, text/plain)
2009-04-16 19:44 UTC, Chris Coulson
Details

Description Chris Coulson 2009-04-16 19:42:44 UTC
Please describe the problem:
This was reported at https://bugs.edge.launchpad.net/ubuntu/+source/gnome-terminal/+bug/361989:

"System->Preferences->Startup Applications->Options ->
   "Automatically remember running applications when logging out"
does not work correctly, forgetting about some or all apps.

For example, I started two Gnome terminals (via Applications->Accessories->Terminal) and then logged out and logged back in. Only one terminal was restored.

Expected behavior: The terminal windows would both be restored."

Steps to reproduce:
1. Enable session saving
2. Open several gnome-terminal windows (or tabs)
3. Exit session
4. Start new session


Actual results:
Only a single gnome-terminal window with one tab opens on the next session

Expected results:
The tabs / windows should be restored

Does this happen every time?
Yes

Other information:
This is with gnome-session 2.26.0 patched with the changes in bug #552387 to make session saving work.

gnome-terminal is launched with the correct --sm-client-state-file
Comment 1 Chris Coulson 2009-04-16 19:43:42 UTC
Created attachment 132786 [details]
Desktop file in ~/.config/gnome-session/saved-session
Comment 2 Chris Coulson 2009-04-16 19:44:58 UTC
Created attachment 132787 [details]
State file
Comment 3 Chris Coulson 2009-04-16 19:48:17 UTC
The state file I attached was from a session with 1 window containing a single tab, and 1 window containing 2 tabs open, at the point I logged out. The state file seems to correctly show this, but this is not restored correctly.
Comment 4 Christian Persch 2009-04-16 19:57:07 UTC
Which g-t version was this with? Unless it was 2.26.1, this bug is a dup of bug 575308.
Comment 5 Chris Coulson 2009-04-16 20:23:56 UTC
It's with 2.26.0
Comment 6 Chris Coulson 2009-04-16 20:24:21 UTC

*** This bug has been marked as a duplicate of 575308 ***