Hi Craig,
It is worse. I have the following script:
Code: Select all
on mouseUp
f
end mouseUp
on mouseDown
f
end mouseDown
on mouseMove
f
end mouseMove
on mouseDoubleUp
f
end mouseDoubleUp
on mouseDoubleDown
f
end mouseDoubleDown
on f
put line -2 of the executionContexts & comma & the seconds & cr after msg
end f
While clicking, I make sure that the mouse doesn't move (I use the button next to a trackpad to click, so no mice involved). One single click generates the following:
button id 1003 of card id 1002 of stack "Untitled 1",mouseMove,10,1389273232
button id 1003 of card id 1002 of stack "Untitled 1",mouseDown,6,1389273233
button id 1003 of card id 1002 of stack "Untitled 1",mouseUp,2,1389273233
button id 1003 of card id 1002 of stack "Untitled 1",mouseMove,10,1389273233
If I doubleClick, keep the mouse pressed after the second click and release after two seconds, I get
button id 1003 of card id 1002 of stack "Untitled 1",mouseMove,10,1389274410
button id 1003 of card id 1002 of stack "Untitled 1",mouseDown,6,1389274410
button id 1003 of card id 1002 of stack "Untitled 1",mouseUp,2,1389274410
button id 1003 of card id 1002 of stack "Untitled 1",mouseMove,10,1389274410
button id 1003 of card id 1002 of stack "Untitled 1",mouseDoubleDown,18,1389274410
No mouseDoubleUp is sent, but I'd say that's expected. I am surprised that you observe an extra mouseDown. Do you have a grouped button or another object that might cause the extra mouseDown?
If I use the trackpad instead of the button and doubleClick with a delay before I release the trackpad, I get
card id 1002 of stack "Untitled 1",mouseMove,10,1389275940
card id 1002 of stack "Untitled 1",mouseDown,6,1389275940
card id 1002 of stack "Untitled 1",mouseMove,10,1389275940
Sometimes, the last mouseMove isn't included.
Altogether, I'd say there are a few inconsistencies, the biggest problem for me being the spurious mouseMoves.
kind regards,
Mark