Open
Bug 1908555
Opened 3 months ago
Updated 2 months ago
Close the current profile after launching a new one when restoring a backup
Categories
(Firefox :: Profile Backup, task, P1)
Firefox
Profile Backup
Tracking
()
ASSIGNED
People
(Reporter: fchasen, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-device-migration] )
Attachments
(1 file, 1 obsolete file)
Currently after restoring from a backup, the new profile instance is launched behind the current window.
We should close the existing profile's instance after the new one has launched.
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•3 months ago
|
||
While quitting the current instance worked, the experience is a little jarring as the new profile isn't focused / in the foreground after launch, so it was hidden behind another window for me. While nsAppStartup::CreateInstanceWithProfile
seems to have a reference to the process it created but no idea if that is enough to focus it.
Seem that a better approach will be to just set ProfileService.defaultProfile
to the new profile and then restart.
Will add an option to the recovery method to restart to do this.
Updated•3 months ago
|
Severity: -- → N/A
Priority: P2 → P1
Assignee | ||
Comment 2•3 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
- Adds a
switchToProfile
method to the Backup Service which will set a profile to default and create a new instance. - Adds a call to quit the current instance after a backup recovery has finished successfully.
- Adds
browser.backup.recovery.quit-after-recovery
andbrowser.backup.recovery.set-recovered-profile-as-default
prefs to disable the above for testing.
Updated•2 months ago
|
Attachment #9417532 -
Attachment description: Bug 1908555 - Set recovered profile to default and quit current instance after restoring from backup. r?#backup-reviewers!( → Bug 1908555 - Set recovered profile to default and quit current instance after restoring from backup. r?#backup-reviewers!
Updated•2 months ago
|
Attachment #9417532 -
Attachment description: Bug 1908555 - Set recovered profile to default and quit current instance after restoring from backup. r?#backup-reviewers! → Bug 1908555 - Set recovered profile to default and quit current instance after restoring from backup. r?#backup-reviewers!,mossop!
Updated•2 months ago
|
Attachment #9417156 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•