Project: SWT
Bug 121890 Canvas and mouseMoveListener and MacOS
Reported: 2005-12-22 10:34:08 | Status: resolved fixed

* I posted on eclipse.platform.swt: This problem is specific SWT on MacOS. It does not seem to be a problem on Windows or Linux. Here's a program that creates a Table, a Label, and a Canvas, and listens for MouseMoveEvents from all of them. Select a row in the Table, hold the mouse button down, and drag it to the label. The program keeps getting MouseEvents while the mouse moves across the label. Good. But move it across the Canvas. Neither the Table nor the Canvas will generate MouseEvents until you release the mouse button. Is there some way I can get those MouseEvents? Can this be considered a bug in the MacOS implementation? * And the response was: The event reported by the OS in this case is kEventMouseDragged and for some reason, SWT is deliberately not sending the MouseMove event for Table (and all subclasses of Composite). This sounds like a bug and should be reported against Platform SWT.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java