[squeak-dev] [Minor BUG] UserDialogBoxMorph pop up in upper left corner

Bert Freudenberg bert at freudenbergs.de
Thu Apr 16 21:27:29 UTC 2015


On 16.04.2015, at 12:37, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:
> 
> Having "Sensor cursorPoint" there is completely safe.

Nope, it's not safe.

> Yes, it is slow because
> it goes down into the VM to get that value. However, normal event processing
> should not be affected at all.

That's not what it does. It throws away all currently buffered events except keyboard events. Like window close events, file drop events, everything gets flushed before Morphic gets a chance to see it.

That's because "Sensor cursorPoint" is supposed to be used from MVC, which can't deal with these types of events anyway.

- Bert -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150416/473ffe22/smime.bin


More information about the Squeak-dev mailing list