Closed Bug 483960 Opened 15 years ago Closed 15 years ago

Password Manager opens a window, not a dialog

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: jag+mozilla)

References

Details

(Keywords: helpwanted, regression, Whiteboard: [good first bug])

Attachments

(1 file)

When toPasswordManager was originally written, toOpenWindowByType only opened windows, since it hardcoded the window features, although the password manager is really a dialog. Fortunately (or unfortunately, as toOpenWindowByType was enhanced before toPasswordManager was checked in) toOpenWindowByType now supports an optional features parameter, which we can use to make the password manager open with the correct chrome and resizable features.
Whiteboard: [good first bug]
Also fix the type so we can find it if it's already open.
Assignee: nobody → jag
Attachment #368022 - Flags: superreview?(neil)
Attachment #368022 - Flags: review?(neil)
Attachment #368022 - Flags: superreview?(neil)
Attachment #368022 - Flags: superreview+
Attachment #368022 - Flags: review?(neil)
Attachment #368022 - Flags: review+
Comment on attachment 368022 [details] [diff] [review]
Make this be a resizable dialog instead of an app window.

Ah, good catch.

Are you going to remove the chrome feature from our other openDialog calls? ;-)
It'd make a nice "getting started" bug for someone.

There's so much crap out there. "dialog=yes", "modal=yes" (the "=yes" part is redundant), "all,x,y,z" where x, y, and z are covered by all.
http://hg.mozilla.org/comm-central/rev/2a1ab3ad5b8f
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: