Closed
Bug 601258
Opened 15 years ago
Closed 15 years ago
Mouse position in popupshowing event is bogus
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 595570
People
(Reporter: jwkbugzilla, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
343 bytes,
application/vnd.mozilla.xul+xml
|
Details |
This issue caused some tooltips in Adblock Plus to break. When I looked into this it turned out that the mouse coordinates (event.clientX/Y, event.screenX/Y) received in popupshowing event of the tooltip are apparently entirely bogus and no longer depend on the actual mouse position. This makes custom tooltips on a tree widget pretty much impossible, without proper position it is not possible to tell which tree cell to show the tooltip for. Note that the default tooltips still work - apparently they take a different route that is only available for binary code.
The attached testcase demonstrates the problem. Download the testcase and open it from a chrome location (alternatively: use Remote XUL Manager to allow bugzilla.mozilla.org to serve remote XUL). Put the mouse somewhere, an alert message will display the screen/client coordinates received in popupshowing event. Now move the mouse somewhere else - note that the coordinates don't change.
| Reporter | ||
Comment 1•15 years ago
|
||
This regressed between 2010-09-10 and 2010-09-11, regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8e0fce7d5b49&tochange=79d0beec27b5
Comment 2•15 years ago
|
||
This may be duplication of Bug 595570
| Reporter | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•