popup events don't include mouse coordinates

RESOLVED FIXED in mozilla0.9.7

Status

()

Core
XUL
P2
normal
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Joe Hewitt (gone), Assigned: Joe Hewitt (gone))

Tracking

Trunk
mozilla0.9.7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

16 years ago
It would be nice if the popupshowing and popupshown events included the
coordinates of the mouse at the time of creation.  I will need this information
in order to make outliner tooltips useful, so that you can determine the cell
that the mouse is over.

I have a patch.
(Assignee)

Comment 1

16 years ago
Created attachment 59427 [details] [diff] [review]
patch
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.7

Comment 2

16 years ago
sr=hyatt, although we really should get the "21" constant into the 
nsLookAndFeel object.

Comment 3

16 years ago
ok, looks good
but please double check computing of y coordinate
I recall there were already |y += 21| in nsXULPopupListener.cpp
r=varga
(Assignee)

Comment 4

16 years ago
fixed
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.