Open
Bug 645689
Opened 14 years ago
Updated 1 year ago
When running Thunderbird with the -addressbook command, a new address book opens, even if one is already open.
Categories
(Thunderbird :: Address Book, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: mconley, Unassigned)
Details
Attachments
(1 obsolete file)
Steps to reproduce:
1) Start Thunderbird
2) At the command prompt, execute Thunderbird with the "-addressbook" argument
3) Repeat step 2
What happens:
A new address book opens every time step 2 is run.
What is expected:
If an address book is already open, we should probably focus on it, instead of opening a new one.
This is similar to the behaviour of 3pane - if we run Thunderbird while Thunderbird is already open, 3pane refocuses instead of spawning a new instance.
Comment 1•14 years ago
|
||
A couple of hints for solving this bug:
http://mxr.mozilla.org/comm-central/source/mail/base/content/utilityOverlay.js#333
http://mxr.mozilla.org/comm-central/source/mailnews/addrbook/src/nsAbManager.cpp#1221
nsAbManager probably just needs to check for the open window first. I can't remember if .focus() brings to top or not, but there should be similar functionality around elsewhere to look at if not.
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Attachment #9387223 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•