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 130990 - Mixing up workspaces of windows when restoring session
Mixing up workspaces of windows when restoring session
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 143372 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-09 09:42 UTC by Lars Weber
Modified: 2005-02-18 00:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Session file from .gnome2/epiphany/ directory. (1.40 KB, text/xml)
2004-01-09 11:47 UTC, Lars Weber
Details
Session crashed file from .gnome2/epiphany directory. (1.40 KB, text/xml)
2004-01-09 11:48 UTC, Lars Weber
Details

Description Lars Weber 2004-01-09 09:42:55 UTC
I currently have several browser windows open (each containing multiple
tabs) and these are positioned on my worspaces like this:

 Window a: Workspace 1
 Window b: Workspace 1
 Window c: Workspace 2

When I now logout and afterwards log back in again, the position of the
windows has changes as follows:

 Window a: Workspace 1
 Window b: Workspace 2
 Window c: Workspace 1

That is, two of the windows have changed position.

Note: I'm currently unable to greatly experiment with different window
setups since I still have a need for all those opened pages.  Someone else
will need to check how easy this is to reproduce.
Comment 1 Christian Persch 2004-01-09 10:36:17 UTC
Can you please attach the session file (somewhere in
~/.gnome2/epiphany/sessions/) ?
Comment 2 Lars Weber 2004-01-09 11:45:27 UTC
I don't have any files below sessions/ here, but there's a file called
session_gnome-6TM8rb.xml in the directory above which I'll attach below.

There's also a file session_crashed.xml in the same directory with
roughly the same contents.  I'll attach that also just in case it may
be useful.
Comment 3 Lars Weber 2004-01-09 11:47:12 UTC
Created attachment 23155 [details]
Session file from .gnome2/epiphany/ directory.
Comment 4 Lars Weber 2004-01-09 11:48:34 UTC
Created attachment 23156 [details]
Session crashed file from .gnome2/epiphany directory.
Comment 5 Christian Persch 2004-01-09 13:24:31 UTC
We don't save workspace information at all.
Comment 6 Luis Villa 2004-03-04 13:25:22 UTC
Shouldn't they then show up on only one workspace, then?
Comment 7 Christian Persch 2004-03-04 14:09:52 UTC
>>We don't save workspace information at all.
>Shouldn't they then show up on only one workspace, then?

Yes. And this is also how it worked when I tried to reproduce this.
Maybe it only happens when you switch workspaces while epiphany is
restoring ?
Comment 8 Lars Weber 2004-03-04 15:05:06 UTC
On my system window positions are definitely remembered across
sessions somehow, if not in Epiphany itself then somewhere else (and
yes, I'm using Metacity here and not Sawfish).  I can wait for the
window icon to appear in the workspace manager before switching
workspaces!

FWIW, I have the following two non-standard gconf settings:

  /apps/gnome-session/options/auto_save_session : true
  /apps/gnome-session/options/logout_prompt     : false

And I was able to reproduce the problem just now with the
self-compiled (GARNOME) 1.1.2 I'm currently using:

1st try:

  Window a (5 tabs) : Workspace 1
  Window b (no tabs): Workspace 2

(I'm using a workspace setting of 2x2.)  When I logged out and back
in, window positions were the same as they were before logout!

2nd try:

  Addes a tab to Window b.

After logout/login the two windows had changed position.
Comment 9 Marco Pesenti Gritti 2004-03-04 19:11:33 UTC
I wonder if metacity try to save workspace info, we are certainly not
doing it ...
Comment 10 Christian Persch 2004-06-08 12:02:14 UTC
*** Bug 143372 has been marked as a duplicate of this bug. ***
Comment 11 Christian Persch 2004-06-08 12:03:15 UTC
The dup has a patch (attachment 28157 [details] [review]), but it doesn't work :)
Comment 12 Christian Persch 2004-10-13 10:55:04 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 13 Rasmus Wiman 2004-12-21 01:22:57 UTC
I think I can reproduce this with just one window. It goes like this:
Log in.
Start epiphany on workspace 2,3 or 4 (any workspace except #1 will do if you
have lots of them). No tabs.
Log out.
log in again. Same epiphany on same workspace.
Open one or a few tabs.
Log out.
Log in again.
Same epiphany, same tabs, but now on workspace 1.

I have tried this on both my lintel boxes and on my mac, all are running Gentoo.
The problem showed up when I upgraded to 2.8 and is still there after the 2.8.1
upgrade. I have not tried it on any other distros.
Comment 14 Xan Lopez 2005-02-18 00:01:15 UTC
Hopefully fixed in cvs.