Closed
Bug 320320
Opened 19 years ago
Closed 18 years ago
Should only be able to open one preference/options dialog per extension.
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8.1alpha2
People
(Reporter: jason.barnabe, Assigned: robert.strong.bugs)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 obsolete file)
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20051208 Firefox/1.6a1 Currently, you can open many preference dialogs for the same extension. This is confusing and can lead to changes being overwritten if the dialogs are closed in the wrong order. We should only open one preference dialog per extension.
Reporter | ||
Comment 1•19 years ago
|
||
This puts the extension's URI in the openDialog's name argument to make sure only one dialog gets opened.
Attachment #205911 -
Flags: review?
Reporter | ||
Updated•19 years ago
|
Attachment #205911 -
Flags: review? → review?(mconnor)
Comment 2•19 years ago
|
||
(Note that this bug applies only to systems with instantApply=true) I think it would be better to find an existing window and focus it instead of reloading the document of an existing window, which is what this patch does. Unfortunately EM doesn't know the windowtype of the options window, so the best way to do it, which I can think of, is to enumerate open windows and check their URIs.
Comment 3•19 years ago
|
||
Comment on attachment 205911 [details] [diff] [review] patch Yeah, this isn't quite right. What we really need to do is make sure we set an appropriate window type, set a unique window id, and iterate looking for that. Yes, this isn't simple and fast, but for this type of action its the Right Thing(tm)
Attachment #205911 -
Flags: review?(mconnor) → review-
Assignee | ||
Comment 4•18 years ago
|
||
Fixed on trunk by the checkin of bug 329045
Assignee: jason_barnabe → robert.bugzilla
Assignee | ||
Comment 5•18 years ago
|
||
Fixed on trunk by the checkin of bug 329045
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Attachment #205911 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Firefox 2 alpha2
Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.1
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•