Closed Bug 97805 Opened 24 years ago Closed 24 years ago

OpenPopup at 0,0 appears in absolute upper left of screen

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: andy.edmonds, Assigned: hyatt)

Details

(Whiteboard: [vivendi])

Attachments

(2 files)

openPopup places a popup offset from an element by parameters x and y. If these parameters are both 0, the popup appears in the upper left hand corner of the screen, regardless of window and element location.
Attached file Test case
Whiteboard: [vivendi]
thanks for the testcase!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #47826 - Attachment mime type: text/html → application/vnd.mozilla.xul+xml
->hyatt
Assignee: trudelle → hyatt
Neat!
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
This is a win32-only bug because of an optimization that win32 does that other platforms don't for popups.
Comment on attachment 52645 [details] [diff] [review] Don't perform move optimization for popups sr=waterson
Attachment #52645 - Flags: superreview+
maybe add braces around 'mWindowType != eWindowType_popup'. r=sfraser
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: