Last Comment Bug 619887 - openPopup(null, 'after_pointer') doesn't work as expected
: openPopup(null, 'after_pointer') doesn't work as expected
Product: Core
Classification: Components
Component: XUL (show other bugs)
: unspecified
: All All
-- normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Neil Deakin
Depends on:
  Show dependency treegraph
Reported: 2010-12-17 01:36 PST by ithinc
Modified: 2011-07-28 15:43 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image ithinc 2010-12-17 01:36:25 PST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv: Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729)
Build Identifier: 

document.getElementById("contentAreaContextMenu").openPopup(null, 'after_pointer') opens the popup in the top-left corner of the window, but not vertically offset a few pixels from the mouse pointer. Is it a bug or intended behavior?

Reproducible: Always
Comment 1 User image Neil Deakin 2010-12-21 10:21:52 PST
after_pointer is not currently implemented with respect to the mouse pointer. It currently offsets 21 pixels vertically from the anchor.
Comment 3 User image Andrei 2011-07-28 15:43:11 PDT
It seems that "at_pointer" is not implemented as well. I've updated the docs linking to this bug.

Note You need to log in before you can comment on or make changes to this bug.