Closed Bug 283240 Opened 20 years ago Closed 20 years ago

xf:message with @level=modal not centered

Categories

(Core Graveyard :: XForms, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: aaronr)

Details

Attachments

(2 files)

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.
Assignee: aaronr → smaug
Assignee: smaug → aaronr
I don't see this on Linux.
Does this happen only with level="modal" or also with
level="modeless"?
also happens with 'modeless'
Attached patch proposed fixSplinter Review
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)
Attachment #175338 - Flags: review?(smaug) → review+
Doron, could you review and checkin for me?
Status: NEW → ASSIGNED
r=me and checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: