Crash-a-lot just became critical

Devin Asay devin_asay at byu.edu
Fri Jan 9 13:41:11 EST 2015


On Jan 9, 2015, at 11:30 AM, Devin Asay <devin_asay at byu.edu> wrote:

> 
> On Jan 9, 2015, at 11:03 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> 
>> On 1/9/2015 8:02 AM, Peter M. Brigham wrote:
>>> Are people saying that in some newer versions of LC the mouseEnter
>>> message is not sent to the control being entered but rather directly
>>> to the stack?
>> 
>> No, that part behaves as it always did. Controls receive mouseEnter normally. Previous versions of the Mac engine did not send the message to the card or stack if there was no control under the mouse though. In LC 7 it does. Apparently it always did that on Linux, so the behavior was specific to the platform.
>> 
>> You can test by creating a new stack without any controls, just a blank card. Put a mouseEnter handler into the card or stack script. Move the mouse into the stack window. In LC 6.x nothing will happen. In LC 7 the handler will execute.
> 
> It looks like that change actually happened in LC 6.7. In 6.5 no mouseEnter is sent if there is no control object under the mouse. Starting in 6.7 a mouseEnter is sent to the card even if there is no control object under the mouse. Is this possibly an effect of the switch to Cocoa?

Sorry, the second sentence in the paragraph above should say “In 6.5 *and 6.6* no mouseEnter is sent…”



Devin Asay
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list