On Thu, Dec 17, 2009 at 12:05:15PM -0500, Colin Walters wrote:
On Thu, Dec 17, 2009 at 10:51 AM, James Antill
<james(a)fedoraproject.org> wrote:
>
> How do you plan on restarting firefox? Or you just planning to kill()
> and get the user to restart?
Trying to send a close button event to the app's windows is probably
our best short-term approach;
That would fail pretty badly in the case of Firefox with multiple
windows open. Firefox's session support can restore multiple tabs to
multiple windows if you quit it and restart, but if you have two windows
open, close one, then close the second causing the browser to quit, then
on restart the session that is restored will only contain the tabs from
the second window. The logic goes that the first window was no longer
part of the session when the app quit. Simply killing the process is
actually less disruptive.
Ewan