Why doesn't Squish replay paintings properly in my painting application?

When a mouse press event is followed by mouse move events (while the button is still pressed), Squish compresses all these events into a single mouseDrag(objectOrName, x, y, dx, dy, modifierState, button).

Using a mouseDrag(objectOrName, x, y, dx, dy, modifierState, button) is much more robust in the face of changes in the AUT then recording the individual mouse events. However, during the replay of the mouseDrag(objectOrName, x, y, dx, dy, modifierState, button), there is only one mouse move event synthesized, starting from the point where the mouse button was pressed to the point where the mouse button was released.

To enable recording to work properly for applications that depend on all of the individual mouse move events being recorded individually, there's a way to disable the creation of the mouseDrag(objectOrName, x, y, dx, dy, modifierState, button) calls for a specific widget type. See setRecordMouseDrag(className, onOrOff) for further details.