BR: ComponentMouse::exit() gives crazy coordinates when mouse exits to another window

When I open a popup menu, if the menu opens under the mouse, the the mouseExit that the component gets has a mouse position that is complete nonsense.

Example debug output:

move: 87.1445, 131.46
move: 87.4355, 131.46
move: 87.4355, 131.751
move: 87.4355, 132.042
exit: 87.4355, 132.333
exit: 1067.44, 484.333

I’m not moving the mouse. The first mouseExit looks ok, then the next is garbage. Doesn’t happen every time, but happens if the first item in the menu gets selected when it opens.

Code:

Thank you for reporting. There’s a fix out on develop

1 Like