[Bug 684982] Re: Firefox windows don't restore on correct workspaces

Bug Watch Updater 684982 at bugs.launchpad.net
Mon Aug 6 20:18:08 UTC 2012


Launchpad has imported 19 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=372650.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2007-03-05T08:36:38+00:00 Jcdeprez wrote:

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)

All windows of a session are restored in the same virtual desktop
although originally they were in different desktop. (it seems that the
restore data do not keep information about windows in which virtual
desktop were in).


Reproducible: Always

Steps to Reproduce:
1. start firefox windows in several desktop
2. shut down Ubuntu
3. start firefox
4. select restore session 
Actual Results:  
All session windows pop up in same desktop windows 

Expected Results:  
Windows should appear in the previous desktop they were in


(it may be that this bug is somewhat related to #339445)

Although this is not a blocking bug, I believe it is a true
inconvenient. Beside unexpected crashes (which are few), the restore
session is useful not to bookmark pages (those that are of temporary
interest) and still be able to get them back after shutting down or
restarting the system. When using the restore session in that way, one
may have opened 20 firefox windows spread over 4 desktops. Having to
finish the restore by putting the windows back in their virtual desktop,
is minor but still a pain.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/0

------------------------------------------------------------------------
On 2007-04-26T20:50:45+00:00 L. David Baron wrote:

This has been bugging me for a while as well.  (I go through the drill
of restoring windows to their correct screens every time I restore a
session.)

I was thinking about how we could implement it.  I think the way it
would need to be done would be to have each platform's widget code
provide a string representation of the screen that a window is on, and
allow chrome to get and set that representation.

But we should definitely be careful not to restore windows to a screen
that no longer exists.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/1

------------------------------------------------------------------------
On 2008-03-07T13:41:02+00:00 Zeniko wrote:

*** Bug 420648 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/2

------------------------------------------------------------------------
On 2008-03-30T12:29:31+00:00 Zeniko wrote:

*** Bug 426031 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/3

------------------------------------------------------------------------
On 2008-03-30T13:28:05+00:00 Clint-bowman wrote:

Additional information requiring an explanation:  For the past several
weeks session restore has worked perfectly, restoring each of my 18
Firefox windows to the correct KDE desktop (seven separate desktops of
the 20 I use.)

Can someone who is familiar with the workings of Firefox and session
manager explain how that can be?  I've seen this happen sporadically
before, both at work and at home, but I'm getting consistently correct
restores for past the nine or ten times I've turned on the computer.  I
think it seems to work if I respond to the session restore window from
the same desktop I was in at shutdown--I haven't experimented because I
don't want to disturb anything (I'm enjoying getting the restore
correct!)  Is there something about KDE that interacts with Firefox to
make the correct restore?

I'd love to go looking at code but all my programming has been with text
(scientific stuff that produces numbers that get visualized by other
aplications written by others.)

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/4

------------------------------------------------------------------------
On 2008-08-17T17:39:15+00:00 Robert-bradbury wrote:

Clint, I can explain part of it.  The Firefox session manager does not
save in the "sessionstore.js" file which workspace it was operating in.
And so it cannot restore a Firefox session back to its original state.
Now the restoration of an "original state" may be a bit different for
Gnome, KDE, (other window managers) because I would expect slotting
windows/tabs into their respective locations would require different
code.  (I am speaking Linux here and obviously Windows being a monopoly
is different.)

But I am not a window manager expert.  If they adopted the same
programming conventions it might not be too difficult.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/5

------------------------------------------------------------------------
On 2008-08-17T17:48:11+00:00 L. David Baron wrote:

Some window managers do multiple desktops by having one large space that
windows can be moved across.  (In such window managers, you can
generally have a window that appears partially on one desktop and
partially on another.)  In these window managers the desktop of the
window is stored simply by its coordinates in the large space, and we
are just restoring those large coordinates, since we restore the
window's position.

(However, this can cause problems if you ever change screen resolution.
Some window managers, like compiz, don't even handle fixing the position
of windows currently open when doing changing screen resolution.  But
the window manager couldn't simply do it automatically with session
restore.)

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/6

------------------------------------------------------------------------
On 2008-08-17T21:34:57+00:00 Robert-bradbury wrote:

David, thank you for the explanation. It provided information which I
was previously unaware of.

But the fact that some window managers could be classified as
"deficient" does not exclude one from programming for those which are
"sufficient".

Given that Linux tends to run on two primary desktops (Gnome and KDE) it
would not be unreasonable to tailor Firefox for those two environments.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/7

------------------------------------------------------------------------
On 2009-02-08T16:46:49+00:00 Sylvain Pasche wrote:

Let's make this one the cross platform implementation of the virtual
desktop restoration. Restoring to the original screen should be
implemented already (minus Linux window manager override or bug 461285
on mac).

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/8

------------------------------------------------------------------------
On 2009-06-09T01:20:27+00:00 Kevin Brosnan wrote:

*** Bug 478615 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/9

------------------------------------------------------------------------
On 2009-11-04T18:24:52+00:00 Paul-oshannessy wrote:

*** Bug 526516 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/10

------------------------------------------------------------------------
On 2010-01-26T00:21:59+00:00 Paul-oshannessy wrote:

*** Bug 542124 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/11

------------------------------------------------------------------------
On 2010-03-31T20:06:36+00:00 Kevin Brosnan wrote:

*** Bug 556360 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/12

------------------------------------------------------------------------
On 2010-08-16T17:08:01+00:00 Paul-oshannessy wrote:

*** Bug 587328 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/13

------------------------------------------------------------------------
On 2010-12-27T20:01:23+00:00 Bzbarsky wrote:

*** Bug 621555 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/15

------------------------------------------------------------------------
On 2011-08-16T02:43:06+00:00 David-Sarah Hopwood wrote:

I typically have several hundred windows in a session, and rely heavily
on categorizing them using desktops, so it takes a huge amount of time
to move them back manually after a crash. This almost defeats the point
of using virtual desktops for me (more so because FF crashes too often,
but that's not for this ticket).

Clint: which window manager are you using, or what other setting might
have changed in order for this to work?

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/17

------------------------------------------------------------------------
On 2011-08-16T03:17:33+00:00 Clint-bowman wrote:

I'm using KDE with 20 desktops, both at home and at work.  The OS at
home is Fedora 13, at work I use Scientific Linux 5.3 (RHEL 5.3 clone).

Under Fedora 13, if I make sure that I move the Session Restore to the
same desktop (I call it Web) before restoring Firefox, all 43 windows
are  restored to the correct desktops although some are in the wrong
location within the desktop and are sized incorrectly--almost always too
large.

Under SL5.3 all of the Firefox windows are restored into the desktop I'm
in when I restore Firefox.  Also many of the Firefox windows are not
sized correctly.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/18

------------------------------------------------------------------------
On 2011-08-16T03:23:53+00:00 L. David Baron wrote:

I'm guessing the two machines have different window managers or
different window manager settings; there are two very different ways
that window managers do multiple desktops; see comment 6 for a partial
explanation.

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/19

------------------------------------------------------------------------
On 2011-08-21T23:04:24+00:00 David-Sarah Hopwood wrote:

Since I don't know what the two methods of implementing virtual desktops
are called, I've had no luck in searching for settings that might
influence this. Does anyone know?

(My window manager is currently KWin, but I'm not averse to switching.)

Reply at: https://bugs.launchpad.net/firefox/+bug/684982/comments/20


** Changed in: firefox
       Status: Unknown => Confirmed

** Changed in: firefox
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/684982

Title:
  Firefox windows don't restore on correct workspaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/684982/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list