Closed Bug 786975 Opened 12 years ago Closed 12 years ago

Tooltips not positioned properly when using openPopup on OSX & Windows

Categories

(Core :: XUL, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: miker, Unassigned)

Details

Take the following test case: const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; let tooltip = document.createElementNS(XUL_NS, "tooltip"); document.documentElement.appendChild(tooltip); tooltip.label = "Some text"; tooltip.openPopup(someElement, "before_start", 0, 0, false, false, null); The tooltip opens vertically too low on OSX and Windows although it is fine on Linux.
Tooltips have a 21 pixel top margin so as not to obstruct the mouse pointer they normally appear next to. You can override the margin if you are opening one manually.
If this is by design then we should leave it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.