Closed Bug 515028 Opened 15 years ago Closed 15 years ago

fix openPopupAtScreen idl comment to reflect the fact that coordinates are in absolute screen space

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: dao, Assigned: tnikkel)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
I guess I need an sr here since this is technically an API change.
Assignee: nobody → tnikkel
Attachment #399109 - Flags: superreview?(bzbarsky)
Attachment #399109 - Flags: review?(enndeakin)
Comment on attachment 399109 [details] [diff] [review]
patch

Looks ok, but maybe explictly say the coordinates are in absolute screen space?
Attachment #399109 - Flags: superreview?(bzbarsky) → superreview+
Attachment #399109 - Flags: review?(enndeakin) → review+
Comment on attachment 399109 [details] [diff] [review]
patch

We should take this on 1.9.2 because 1.9.2 changed the behaviour of openPopupAtScreen due to bug 393186. The coordinates have always been in absolute screen space, but before bug 393186 we would constrain to the active screen.
Attachment #399109 - Flags: approval1.9.2?
Per Boris' comment, I changed the comment to say
   * Open the popup at a specific screen position specified by x and y. This
   * position may be adjusted if it would cause the popup to be off of the
   * screen. The x and y coordinates are measured in CSS pixels, and like all
   * screen coordinates, are given relative to the top left of the primary
   * screen.
http://hg.mozilla.org/mozilla-central/rev/841ec7492ecb
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Comment on attachment 399109 [details] [diff] [review]
patch

I think it's too late to take the UUID change on 1.9.2 at this point. We could take just the comment change, though...
Attachment #399109 - Flags: approval1.9.2?
Component: XP Toolkit/Widgets: Menus → XUL
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: