GNOME Bugzilla – Bug 321103
MouseMotionListener does not accurately report the mouse position
Last modified: 2005-12-21 22:39:58 UTC
Please describe the problem: When a mouse motion listener is added to a widget, it only seems to report event when a) the mouse enters the widget, or b) the user clicks and drags the mouse It seems that when another event is fired (i.e. Text entered into a TextView or the mouse is clicked) if the mouse if moved after a single MouseMotionEvent is fired but then after that nothing. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 54548 [details] testcase This is a testcase that demonstrates the problem mentioned above
Created attachment 56274 [details] [review] patch I've been able to get most widgets to work correctly with MouseMotionListeners, with the exception of TextView, and TreeView. TreeView in particular is odd, since it seems to emit no events until it is resized, after which is emits events as usual.
TextView is not a bug, see bug #324745.
The above patch has been committed to cvs HEAD