Thanks to this thread I've not bashed my computer to death today, I
was getting close.

I was having the same issue where after a given action the key up/down
event handlers that I'd registered on the systemManager were no longer
being triggered.

What I was doing was this:

Elsewhere within the app something else (who had a child which I'd
explicitly given focus to via setFocus()) would get removed from the
display (and left for G.C. to pick up) on a keyDown event. At this
point the event handlers registered to the systemManager stopped
picking anything up. It turns out that simply removing the item from
the display doesn't release the focus, so I've manually given focus to
the parentApplication when I remove it.

This smells to me, am I doing anything wrong or is the behaviour you'd
expect of focusing?

Anyway I wouldn't have gotten to the bottom of the issue without this
thread -- so many thanks.



Reply via email to