Closed
Bug 283240
Opened 20 years ago
Closed 20 years ago
xf:message with @level=modal not centered
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: aaronr)
Details
Attachments
(2 files)
|
1.14 KB,
application/xhtml+xml
|
Details | |
|
959 bytes,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Other implementations display their modal xf:message windows centered either on the desktop or on the browser window. We show ours in the upper left corner of the browser window (coordinate 0,0 I'm guessing). I would suggest that we show the popup centered to the desktop. Because if the center of the browser is offscreen, that makes it very difficult to dismiss the popup. fP has that problem. Does this happen cross platform? Definitely happens on Windows XP.
click on the trigger. It will popup a xf:message on the DOMActivate event.
Comment 2•20 years ago
|
||
You probably want to do something like this: http://lxr.mozilla.org/seamonkey/source/xpinstall/src/nsXPInstallManager.cpp#365
Updated•20 years ago
|
Assignee: aaronr → smaug
Updated•20 years ago
|
Assignee: smaug → aaronr
Comment 3•20 years ago
|
||
I don't see this on Linux. Does this happen only with level="modal" or also with level="modeless"?
added (at smaug's suggestion) 'centerscreen' to get modal and modeless message windows to open centered on the browser window
Attachment #175338 -
Flags: review?(smaug)
Updated•20 years ago
|
Attachment #175338 -
Flags: review?(smaug) → review+
Doron, could you review and checkin for me?
Status: NEW → ASSIGNED
Comment 7•20 years ago
|
||
r=me and checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
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
•