Closed
Bug 1908555
Opened 2 years ago
Closed 9 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
()
RESOLVED
FIXED
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•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•2 years 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•2 years ago
|
Severity: -- → N/A
Priority: P2 → P1
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
- Adds a
switchToProfilemethod 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-recoveryandbrowser.backup.recovery.set-recovered-profile-as-defaultprefs to disable the above for testing.
Updated•2 years 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 years 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 years ago
|
Attachment #9417156 -
Attachment is obsolete: true
Comment 4•9 months ago
|
||
Fixed in Bug 1993087
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•