Would be nice to be able to open 2 firefox sessions with a different profiles from about:profiles

RESOLVED FIXED in Firefox 48

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: baku, Assigned: baku)

Tracking

47 Branch
mozilla48
Points:
---

Firefox Tracking Flags

(firefox48 fixed)

Details

(Whiteboard: btpp-active)

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
Created attachment 8741149 [details] [diff] [review]
p2.patch
Attachment #8741149 - Flags: review?(bugs)

Comment 1

3 years ago
Comment on attachment 8741149 [details] [diff] [review]
p2.patch


>+
>+  const char *args[] = { "-P", profileName.get() };
nit, char*

>+  // If a profile name has been set by env and it's not an empty string we
>+  // consider it as the next profile.
>   arg = PR_GetEnv("XRE_PROFILE_NAME");
>-  if (arg) {
>+  if (arg && arg[0]) {
>     ar = ARG_FOUND;
>   } else {
>     ar = CheckArg("p", false, &arg);
>   }
so this depends on the other patch, where I was asking whether we want to change the meaning of XRE_PROFILE_NAME
So this part may need some changes, depending on what happens in the other bug.
Attachment #8741149 - Flags: review?(bugs) → review+
Whiteboard: btpp-active

Comment 2

3 years ago
Hi baku,

Will this let you open 2 side by side versions of Firefox with different profiles?  The user only has to have one Firefox version installed to do this?  If so, that is very cool!  

What will the UX look like?  How does the user choose to open 2 profiles?  Is the first step the platform support and the UX will be in another bug?

Thanks!

Comment 3

3 years ago
(In reply to Tanvi Vyas [:tanvi] from comment #2)
> What will the UX look like?  How does the user choose to open 2 profiles? 
> Is the first step the platform support and the UX will be in another bug?
Ah, I see you add another button to about:profiles "Exec with this profile".
(Assignee)

Comment 4

3 years ago
> Ah, I see you add another button to about:profiles "Exec with this profile".

Right. The name 'exec with this profile' seems super confusing to me. Maybe you can help me with a better name?

Comment 7

3 years ago
(In reply to Andrea Marchesini (:baku) from comment #4)
> > Ah, I see you add another button to about:profiles "Exec with this profile".
> 
> Right. The name 'exec with this profile' seems super confusing to me. Maybe
> you can help me with a better name?


Some ideas:
Open profile
Open profile in new browser
Open in second browser
Open in new browser

Launch profile
Launch profile in new browser
Launch in second browser
Launch in new browser

Comment 8

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/0eb46e22a782
https://hg.mozilla.org/mozilla-central/rev/750ff8b64b21
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox48: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.