[squeak-dev] Re: losing mouse clicks

Julian Fitzell jfitzell at gmail.com
Sun Dec 21 20:06:29 UTC 2008


On Sun, Dec 21, 2008 at 8:38 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
> Julian Fitzell wrote:
>>
>> Did anybody ever figure out what the heck is causing this? It's
>> driving me nuts!!
>
> It's users of Sensor>>mouseButtons, Sensor>>shiftPressed etc. The main
> suspect in this regard is TransferMorph which does this:
>
> TransferMorph>>step
>        self shouldCopy: Sensor shiftPressed.
>        self updateCopyIcon
>
> A lingering TransforMorph (which can happen after DnD errors) will happily
> eat all your events.

Thank you, thank you, thank you. This fixed it:

TransferMorph allInstances do: [:ea | ea delete]

(there was a lingering one - it had an omnibrowser method node as a passenger)

Not sure why this is happening so much to me right now but at least I
have a fix.

Julian



More information about the Squeak-dev mailing list