Closed Bug 899243 Opened 13 years ago Closed 11 years ago

Make MouseTrailer not fire WM_NCHITTEST messages

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1107779

People

(Reporter: Gijs, Unassigned)

References

Details

In bug 898126 comment 17 I noticed that MouseTrailer causes Windows to fire WM_NCHITTEST messages. I don't really know why, but it's a little unfortunate. It would be good if it didn't do that and/or we got rid of MouseTrailer. See also bug 506815 and bug 312566 comment 3. In testing, it seemed there wasn't much of a startup performance win to be gained from eliminating these calls, but it might still be worth it to do this for general responsiveness/non-confoundingness of the code.
For reference, this is because WindowFromPoint asks Windows to fire WM_NCHITTEST to get the result. bug 506815 is tracking removal of MouseTrailer and bug 1107779 is tracking the impact that these spurious WM_NCHITTEST events are having from a performance standpoint. Do these bugs cover what you were hoping to accomplish with this bug? This one seems like it fell between the cracks, but the other two have activity within the past month.
Flags: needinfo?(gijskruitbosch+bugs)
I think bug 506815 is stalled, actually... but at least bug 1107779 is moving, and I am unlikely to get around to fixing this bug, so this can probably be duped to 1107779. I think the most efficient way of moving forward, fwiw, is probably to at least start with picking up bug 506815 where it stalled and getting that patch landed. No more MouseTrailer will do most of what bug 1107779 aims for. Note that all this intersects with other effects the current mousehittest stuff has, mostly because mouseleave and so on go missing on empty bits of the tabstrip and stuff like that. Felipe knows more.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.