Comment 44 for bug 31746

Revision history for this message
Michael Nagel (nailor) wrote : Re: Impossible to use multiple profiles at the same time

i did reopen because i see adding the "magic -a switch" merely as a workaround and not as a fix;

however, i just found a manpage for firefox[1] at http://pwet.fr/man/linux/commandes/firefox and it reads:

-a application-id
    Check for a running Firefox started with the specified application-id. When firefox is invoked for the first time with a particular application-id, a new Firefox application is started; subsequent invocations of firefox with the same application-id will cause the already-running Firefox to bring up a new window.
The default is -a firefox.

now thing begin to make some sense. if i interpret this correctly, launching firefox with "-P anotherprofile" does not work as expected when another instance is running because they will both share the "firefox" application id that will take precedence over the selected profile.

from my point of view it would be more sensible to do one of this:
- make the selected profile take precedence over the application id / only consider the application id if profiles match
or
- default the application id not to "firefox" but to $SELECTED_PROFILE unless explicitly set otherwise

[1] see bug 115112 for missing man page