Closed
Bug 86423
Opened 23 years ago
Closed 23 years ago
Wrong behavior when opening the mozilla app twice in a row
Categories
(Core Graveyard :: Profile: BackEnd, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mscott, Assigned: ccarlen)
References
Details
A lot of times on faster machines, it's real easy to double click and then double click again when trying launch mozilla. When this happens, we bring up the profile manager in response to the first double click. Then if I accidentaly double click a 2nd time, I get a new browser window to come up while the profile manager is still up!! So now I see a profile manager and a navigator window. It's not clear to me which profile this browser window is using. We have code which detects if a mozilla process is running when you re-launch mozilla so we just throw up a new window instead of having 2 processes running at the same time. This code needs to somehow also detect that we are blocked waiting on the profile manager and not throw up a navigator window until the profile is chosen. This bug may ultimately belong to the owners of appshell or bootstrap wherever the check occurs for multiple instances of mozilla.
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla0.9.2
Assignee | ||
Comment 1•23 years ago
|
||
What timing that you brought this up right now. I am working on this code (nsNativeAppSupportWin.cpp) for bug 86021. I incorporated the (extremely simple) fix for this problem into that. I'll know later today how soon 86021 will be checked in. If there is a delay with that, I'll clean those mods out and put a patch here. But, yes, it is a bootstrap problem and it may only be a problem on Windows. There is some code getting ready to go in on Mac to prevent two instances from running but it is just that - it just doesn't run the 2nd instance. The Windows code is different. The 2nd instance fires a DDE msg to the first telling it to open a window and then it quits.
Status: NEW → ASSIGNED
Comment 3•23 years ago
|
||
What is the status of this bug. It looks like it fell through the cracks
Assignee | ||
Comment 4•23 years ago
|
||
I think it's fixed by some other work I did to nsNativeAppSupportWin.cpp. Somebody verify please.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 5•23 years ago
|
||
I was able to reproduce with mozilla nightly 2001103003 Clicked on mozilla icon and brought up profile manager, chose profile1 and launched Clicked on mozilla icon again (browser window for first launch opened), chose profile2 for this instance and second browser window came up each browser window has their own set of bookmarks The good news is I cannot open two mail instances- mail seems to be part of first profile opened. (did with both turbo on and turbo off - don't think turbo is part of this issue)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•23 years ago
|
||
This seems to have been fixed along with bug 108089. Using a debug build so I can see the console window when the app is double-clicked, I clicked 4 times. The 2nd console window opened and immediately closed. No 2nd instance launched. I also double-clicked, waited until profile picker came up, and double-clicked again. Also, no 2nd instance launched.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 7•23 years ago
|
||
verified behavior in last comment - mozilla build 2002010703
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•