Closed
Bug 321060
Opened 19 years ago
Closed 17 years ago
Prevent multiple instances
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mcrae_allan, Unassigned)
References
Details
Attachments
(1 file)
3.50 KB,
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051220 Mozilla Sunbird/0.3a1+
If Sunbrid is running and I try open another one, the focus should switch to the already open instance.
Reproducible: Always
Steps to Reproduce:
1.Open Sunbird
2.Open another Sunbird
Actual Results:
Two Sunbirds are opened
Expected Results:
One Sunbird is open
This worked with Sunbird 0.2
Comment 1•19 years ago
|
||
Is the current behavior a bug or a feature?
Currently you can have one (not multiple) instance but multiple windows of Sunbird. For example you can display day view in one window and month view in the other window. Or you can display different calendars in different windows at once. Or you can display different date ranges in different windows at once. Or you can ...
So again: Is this a bug or a feature?
Version: unspecified → Trunk
Comment 2•19 years ago
|
||
You can have multiple instances of both Firefox and Thunderbird, so I guess this is supposed behaviour, I could be wrong though.
Nominating for wontfix.
Reporter | ||
Comment 3•19 years ago
|
||
Multiple instances of Firefox are possible but not Thunderbird (well sometimes - see bug 220196). I'm thinking if multiple instances of an email program don't make sense, nor do multiple instances of a calendar.
If find this most annoying when using the minimze to tray extension and ending up with several Sunbirds down in the tray.
Comment 4•19 years ago
|
||
Multiple instances of both Firefox and Thunderbird are possible if and only if you set MOZ_NO_REMOTE to 1 in the environment. I'd be surprised if Sunbird were any different, and if it is different, it's not clear to me why we would want that.
Comment 5•19 years ago
|
||
This is now works for me. Using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060507 Mozilla Sunbird/0.3a2 I got a popup that displays 'Sunbird is already running...'. No second window is opened.
Allan McRae: Do you still see this problem with Sunbird 0.3a2 or newer?
Reporter | ||
Comment 6•19 years ago
|
||
I am still seeing this with 0.3a2 with completely new profile [Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060514 Mozilla Sunbird/0.3a2]. However, I do remember seeing that message when I upgraded to 0.3a2 every time I started Sunbird, even when it wasn't already opened (hence a new profile that fixed that issue).
Comment 7•19 years ago
|
||
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o
Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
Comment 8•19 years ago
|
||
*** Bug 357406 has been marked as a duplicate of this bug. ***
Comment 9•19 years ago
|
||
So is it fixed or not. I can still reproduce the problem with Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9a1) Gecko/20061006 Sunbird/0.3 on Windows XP :-(
Comment 10•19 years ago
|
||
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061030 Calendar/0.4a1 and clean profile.
Status: UNCONFIRMED → NEW
Component: General → Sunbird Only
Ever confirmed: true
QA Contact: general → sunbird
Comment 11•18 years ago
|
||
I installed and with a clean profile, every time I open Sunbird it automatically opens two instances. Is anyone else seeing this?
Comment 12•17 years ago
|
||
WFM with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13pre) Gecko/20080215 Calendar/0.8pre
![]() |
||
Comment 13•17 years ago
|
||
I get 2 windows (after manually opening Sunbird, then manually opening another instance again) on a fresh profile, both on trunk and branch nightlies.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021618 Calendar/0.6a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13pre) Gecko/20080216 Calendar/0.8pre
Is this an intended feature or still a bug? Or else it can be resolved as appropriate.
Thoughts?
Comment 14•17 years ago
|
||
I think what we need to clarify here is what type of windows are opened:
* Start Sunbird normally => a Window is opened
* Start Sunbird normally again, same profile => a second window is opened
=> Expected: There should be two windows and one sunbird.exe process
* Start Sunbird normally => a Window is opened
* Start sunbird again, same profile, -no-remote
=> Expected: An error message that sunbird is already opened
* Start Sunbird normally => a window is opened
* Start Sunbird again, different profile, -no-remote
=> Expected: Two open windows and two sunbird.exe processes.
This is what I would expect and also the way Thunderbird/Firefox work. I tested this behavior in sunbird and all works fine.
What we could think about is prohibiting a second sunbird window of the same process, since we haven't put much thought into multiple sunbird windows (i.e bug 332401). I think this is not necessary though, I'd vote for WONTFIX or WORKSFORME.
![]() |
||
Comment 15•17 years ago
|
||
(See previous few comments)
Since all expected behaviour occurs, I'd go for WORKSFORME. Resolving.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•