! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Session restore of terminal windows broken
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Enrico Tröger editbugs 2013-01-08 23:17:15 CET
Since the upgrade from xfce4-terminal 0.4.8 to 0.6.1, restoring different terminal windows to workspaces on session startup doesn't work anymore.

Before terminal windows were placed on the workspaces on session startup (with session saving enabled) where they have been on shutdown.

Since 0.6.1 this seems broken, all terminals windows are placed on the first workspace on startup.

This happens on an up2date ArchLinux with:
xfwm4: 4.10.0
xfce4-terminal: 0.6.1
exo:0.10.2
xfce4-settings: 4.10.0
Comment 1 Kevin Fenzi 2013-01-22 23:54:06 CET
Seeing this here as well on Fedora rawhide.
Comment 2 Chris Dos 2013-08-07 22:11:51 CEST
Any movement on this bug?  Running on Debian and this has become a time sink for me every time I have to log in.  I have 17 windows over 13 workspaces that I place in such a manner to be productive.  To have to re-create these window placements each time I log in can be a bit of a discouragement in the morning.
Comment 3 Gene Czarcinski 2013-09-09 21:33:10 CEST
I do not know if this is considered important but this also does not work when xfce4-terminal is used under (Gnome 4) gnome-shell
Comment 4 Chris Dos 2013-10-14 17:05:08 CEST
Any update on this?  I don't want to be annoying.  But if this can't be worked on for the time being, please let me know so I can switch terminals at this point.  Thanks much.
Comment 5 Gregory Margo 2013-12-05 02:41:27 CET
I bisected and found that the session restore broke with this commit,
which switched session responsibility from libexo to libxfce4ui:
http://git.xfce.org/apps/xfce4-terminal/commit/?id=3610a76a4791f4b0c00c25b0ee2bd323fd8c7000
Comment 6 Gregory Margo 2013-12-16 19:36:30 CET
Created attachment 5266 
Fix terminal session restore
Comment 7 Gregory Margo 2013-12-16 19:41:42 CET
The above "Fix terminal session restore" attachment is a patch to do just that.

The patch changes the initialization to connect with the session manager first before starting any other windows.  Tested on Ubuntu Saucy 13.10 and on master/HEAD.
Comment 8 Kevin Fenzi 2013-12-16 22:52:41 CET
The patch in comment #6 fixes things here. ;)
Comment 9 Nick Schermer editbugs 2013-12-22 21:51:09 CET
Thanks, looks good. Applied.

Bug #9732

Reported by:
Enrico Tröger
Reported on: 2013-01-08
Last modified on: 2013-12-22

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Attachments

Fix terminal session restore (1.45 KB, patch)
2013-12-16 19:36 CET , Gregory Margo
no flags

Additional information