Closed
Bug 554239
Opened 15 years ago
Closed 15 years ago
GNOME session restore with multiple profiles
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rich, Assigned: rich)
Details
Attachments
(1 file, 1 obsolete file)
7.78 KB,
patch
|
benjamin
:
review-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
I run multiple instances of Firefox at the same time, each with a different profile. I have a machine which I shutdown every night and start up again every morning (OS-level suspend fails on this machine). I have configured Gnome to save and restore my session automatically.
Unfortunately Firefox gets confused when Gnome tries to restore it. Two instances of Firefox are started. One opens one of the profiles (probably the one I last used?), the other instance displays a dialog that says "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
Reproducible: Always
Steps to Reproduce:
1. Start two instances of Firefox, each with a different profile.
2. Log out.
3. Log back in.
Actual Results:
One instance starts correctly, the other gets the error "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
Expected Results:
Two instances start, each with a different profile.
This is not a big deal for me; it is a minor annoyance. I mainly want to have a go at writing a patch for something easy. I have a candidate patch ready which I will submit for review shortly.
May be related to bug 428356.
Assignee | ||
Comment 1•15 years ago
|
||
- Added new method to nsINativeAppSupport so that it can be notified by nsAppRunner when the profile is available.
- Wait until profile is available before setting restart command.
- Use -no-remote and -profile to support multiple sessions.
I'm interested in any feedback on the patch, even if the functionality is rejected. Thanks!
Attachment #434149 -
Flags: review?
Updated•15 years ago
|
Assignee: nobody → rich
Assignee | ||
Comment 2•15 years ago
|
||
Comment on attachment 434149 [details] [diff] [review]
Patch attempt 1
This feature may have been discussed before: https://bugzilla.mozilla.org/show_bug.cgi?id=262258#c35
Attachment #434149 -
Flags: review? → review?(benjamin)
Assignee | ||
Comment 3•15 years ago
|
||
- Change uuid for interface.
Attachment #434149 -
Attachment is obsolete: true
Attachment #434153 -
Flags: review?(benjamin)
Attachment #434149 -
Flags: review?(benjamin)
Comment 4•15 years ago
|
||
Comment on attachment 434153 [details] [diff] [review]
Patch attempt 2
I don't think I want to maintain the additional complexity that this patch adds.
Attachment #434153 -
Flags: review?(benjamin) → review-
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•