The checked profile selector dialog checkbox prevents launching any profile
Categories
(Toolkit :: Startup and Profile System, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: jhirsch, Assigned: mossop)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-profile-management])
Attachments
(1 file)
- Enable profiles by setting
browser.profiles.enabled
pref totrue
- Create several profiles
- Click on "Profiles" then "Manage Profiles", launching the profile selector dialog
- In the profile selector dialog, check the "Show at startup" checkbox in the profile
- Close all open profiles and restart Firefox
- The profile selector dialog will display, with the "Show at startup" checkbox checked"
- Click the profile card to launch any of the profiles in the profile group
Expected behavior: the profile selector dialog is dismissed and the selected profile launches
Actual behavior: the profile selector dialog is dismissed, then reappears. Firefox only starts into a profile if the "Show at Startup" checkbox is unchecked before clicking on a profile (and in that case the wrong profile is launched, see bug 1931984).
We should be ignoring the "show at startup" checkbox state (that is, the ShowSelector state in profiles.ini) if the user is trying to launch a profile from the profile selector window.
Reporter | ||
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
When displaying the profile selector on startup we cannot use the normal method of launching a
selected profile by simply launching an new instance of Firefox. This would lose all state from
the original process including any passed command line arguments. Instead we must signal back to
nsAppRunner what profile it should launch. We also need to properly shut down the sqlite database
before shutdown begins as our normal hook isn't in place and the process crashes if the database
hasn't been shut down correctly.
Comment 4•8 months ago
•
|
||
Backed out for causing failures at test_first_startup.py.
Backout link: https://hg.mozilla.org/integration/autoland/rev/21cc72f3e68b260d34494be2bfa50f38e1c08ae4
Failure logs:
https://treeherder.mozilla.org/logviewer?job_id=484227742&repo=autoland&lineNumber=31509
https://treeherder.mozilla.org/logviewer?job_id=484227678&repo=autoland&lineNumber=2510
Comment 6•8 months ago
|
||
bugherder |
Assignee | ||
Updated•8 months ago
|
Updated•7 months ago
|
Comment 7•7 months ago
|
||
Removing the qe-verify+ flag as the Profile Switching feature was not released in Firefox 135, and the Profile Selector is still a work in progress.
Comment 8•6 months ago
|
||
Reproduced the initial issue on Nightly 134.0a1 (Build ID: 20241119094105).
Verified as fixed on the latest Nightly 137.0a1 - a new profile can be opened from the Profile selector window when the "Choose a profile when Nightly opens" is checked.
Description
•