Mouseevents in NOT active windows

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Tue Oct 4 08:11:20 CDT 2011


I don't know if it's related (the other side of the same coin?) but I've also noticed 'orphan' tooltips that get stuck after a change of window focus away from LiveCode (IDE on 4.6.4 on OSX). 

They remain as the mouse moves, until returning to a LiveCode window and then making a mouse movement.

Maybe it's my responsibility as the developer to code what happens when my app loses focus but I would have expected the default behaviour to be that tooltips become invisible on loss of window focus. 
Best,
Keith.. 

On 4 Oct 2011, at 13:45, Klaus on-rev wrote:

> Hi all,
> 
> I have asked this some time before, but did not get any answer.
> 
> Is it correct behavior that mouseenvents (mouseenter, meouseleave, mousemove etc...)
> are getting executed even if that stack is NOT the active window?
> 
> Know what I mean? I have a Finder window in front, but moving the mouse over the stack
> BEHIND the Finder window shows tooltips etc., which looks a bit strange to me!?
> 
> Any hints or opinions?
> 
> 
> Best and thanks in advance
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com




More information about the use-livecode mailing list