Firefox starts up with wrong profile after creating a profile in about:profiles
Categories
(Toolkit :: Startup and Profile System, defect, P3)
Tracking
()
People
(Reporter: yoasif, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Noticed that Firefox was opening with the wrong profile after creating a new profile in about:profiles.
Steps to reproduce:
- Delete ~/.mozilla/firefox
- Download and install Firefox 67
- Start Firefox
- Quit Firefox
- Open Firefox
- Create a new profile named "whatever"
- Quit
- Start Firefox
What happens:
Firefox starts up in profile named "whatever"
Expected result:
Firefox should open in default profile, like it did in Firefox 66.
| Reporter | ||
Comment 1•6 years ago
|
||
Contents of profile files after step 4:
installs.ini
[8050D45F76B92B26]
Default=qzxuo9ys.default-nightly
Locked=1
profiles.ini
[Profile1]
Name=default
IsRelative=1
Path=en77g6hs.default
Default=1
[Install8050D45F76B92B26]
Default=qzxuo9ys.default-nightly
Locked=1
[Profile0]
Name=default-nightly
IsRelative=1
Path=qzxuo9ys.default-nightly
[General]
StartWithLastProfile=1
Version=2
Contents of profile files after step 7:
installs.ini
[8050D45F76B92B26]
Default=xpkbk27j.whatever
Locked=1
profiles.ini
[Install8050D45F76B92B26]
Default=xpkbk27j.whatever
Locked=1
[Profile1]
Name=default
IsRelative=1
Path=en77g6hs.default
Default=1
[Profile0]
Name=default-nightly
IsRelative=1
Path=qzxuo9ys.default-nightly
[General]
StartWithLastProfile=1
Version=2
[Profile2]
Name=whatever
IsRelative=1
Path=xpkbk27j.whatever
| Reporter | ||
Comment 3•6 years ago
|
||
I am navigating to about:profiles, clicking "Create a New Profile", clicking next, typing a name, and clicking "finish".
| Reporter | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Looks like this was introduced by bug 1322797. We no set the newly created profile to be the default. Not really sure if that is right or wrong.
| Reporter | ||
Comment 5•6 years ago
|
||
Given that my the profile I originally launched with does not have a "Set as default profile" button alongside it, I think it is clearly a bug - not only that, it is a regression of previous behavior.
Comment 6•6 years ago
|
||
(In reply to Asif Youssuff from comment #5)
Given that my the profile I originally launched with does not have a "Set as default profile" button alongside it, I think it is clearly a bug - not only that, it is a regression of previous behavior.
That's odd, it does for me.
| Reporter | ||
Comment 7•6 years ago
|
||
(In reply to Dave Townsend [:mossop] (he/him) from comment #6)
That's odd, it does for me.
I am now seeing the same thing, but I didn't see it when I reported using the older build.
Updated•6 years ago
|
| Reporter | ||
Comment 8•5 years ago
|
||
This continues to be annoying; if I create a new profile for testing, the new profile is immediately set as my default profile, even when I had a default set previously.
If I forget to set my default profile back to my original default, I end up starting a test profile without any interesting stuff in it the next time I update Nightly.
Comment 9•4 years ago
|
||
Reproduced on MacOS 10.15 and M1, marking affected flags accordingly.
Comment 10•4 years ago
|
||
Reproduced on Ubuntu 20.04 as well.
Comment 11•4 years ago
|
||
This behaviour is known and will affect all versions on all platforms, there is no need to confirm that.
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Any workaround suggestion in the meantime, please?
Example of the impact of this bug:
Not able to log anymore into Postman (desktop and web application)
because a new Firefox profile (configured with strict privacy settings)
is launched without being the default one,
hence the ineffective login.
Comment 13•4 years ago
|
||
(In reply to solid.tester from comment #12)
Any workaround suggestion in the meantime, please?
Go into about:profiles and find your profile, then click the "set as default profile", which shall set the selected profile as default for the target install.
Updated•4 years ago
|
Updated•3 years ago
|
Comment 14•2 years ago
|
||
(In reply to Dave Townsend [:mossop] from comment #4)
Looks like this was introduced by bug 1322797. We no set the newly created profile to be the default. Not really sure if that is right or wrong.
I'm not a profile expert, but it does seem wrong to me. I thought the last used profile became the default.
Has anyone tested past behavior is for a newly created profile to become the default? Pre bug 1322797? Also, does this also happen when when a profile is created in the standalone profile manager?
Comment 15•1 year ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #14)
I'm not a profile expert, but it does seem wrong to me. I thought the last used profile became the default.
Has anyone tested past behavior is for a newly created profile to become the default? Pre bug 1322797? Also, does this also happen when when a profile is created in the standalone profile manager?
If the Profile Manager is started with the "-P" command line option, the default will not be changed when the profile is created.
When Firefox (or Thunderbird) is started with the option "Use the selected profile without asking at startup" checked, the default will be set.
Regression Window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0a71d114c5e223542ca6687bbdf3ecb16c380677&tochange=afa70e5e516abf11f4760b915c0b3d09bc351147
It's amazing that this bug has remained unsolved for 5 years (1 year and 4 months since the last update).
I wrote an article on MozillaZine.jp on how to check with new profile, but I had to add some extra steps and notes because of this bug.
And today, an unfortunate incident occurred when a reader created a new profile without reading the article's notes, then wasted several hours not knowing how to switch back to their original profile.
Description
•