[Bug 1214846] [NEW] Restart button starts wrong profile when running multiple

era 1214846 at bugs.launchpad.net
Wed Aug 21 11:20:27 UTC 2013

Public bug reported:

I have two instances of Firefox running with different extensions,
different default window size, different preferences, etc.

I have found that when Firefox requires a restart (such as when the
Ubuntu Firefox package receives an upgrade, or when I have installed an
extension which requires it), the "Restart" button does not work
correctly in the secondary instance.  Instead, it will close the
secondary instance, and start a new empty window in the primary

Steps to repro:

1. Run your regular Firefox
2. Start a second Firefox by running

    firefox -ufnord -profileManager &

Create a new profile, populate it with some settings to distinguish it
from your primary instance (window size? web developer tools?
experimental extensions?)

3. Receive an uprade to Firefox, or install an extension which requires
a reboot.  For the latter case, I found that e.g.
tab/ does that.

4. When Firefox displays a Restart button at the top of your browser
window, press it

Expected outcome:

The secondary instance closes, then restarts with the same settings
(same profile)

Actual outcome:

A new empty window in the primary instance is spawned.


Run firefox -ufnord -profileManager & again and select the profile you

(The -ufnord is a known bug; I'm too lazy to dig it up, but it's been
there like forever.)

xvbvntv$ lsb_release -rd
Description:    Ubuntu 12.04.3 LTS
Release:        12.04

xvbvntv$ apt-cache policy firefox
  Installed: 23.0+build2-0ubuntu0.12.04.1
  Candidate: 23.0+build2-0ubuntu0.12.04.1
  Version table:
 *** 23.0+build2-0ubuntu0.12.04.1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        500 http://mirrors.nic.funet.fi/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     11.0+build1-0ubuntu4 0
        500 http://fi.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.

  Restart button starts wrong profile when running multiple

To manage notifications about this bug go to:

More information about the Ubuntu-mozillateam-bugs mailing list