Perform the following events on the morph: red mouse button down, yellow mouse button down, red up, yellow up
Expected result in the transcript: mouseDown red, mouseDown yellow, mouseUp red, mouseUp yellow
Actual result: mouseDown red, mouseDown red yellow, mouseUp red
The second mouseUp is missing!
First investigation shows that the VM seems to generate correct events, so this is likely a bug in MouseClickState.
In practice, this bug/limitation makes it impossible to implement mouse chording in Squeak.
Steps to reproduce:
Open a simple morph that implements
#mouseDown:
and#mouseUp:
:Perform the following events on the morph: red mouse button down, yellow mouse button down, red up, yellow up
Expected result in the transcript: mouseDown red, mouseDown yellow, mouseUp red, mouseUp yellow Actual result: mouseDown red, mouseDown red yellow, mouseUp red
The second mouseUp is missing!
First investigation shows that the VM seems to generate correct events, so this is likely a bug in
MouseClickState
.In practice, this bug/limitation makes it impossible to implement mouse chording in Squeak.