Simply put, they don't always trigger. Worse of all, they hardly trigger, except for the strange occasions where it goes LoseFocus\nGetFocus.
I have a simple Lua plugin, with stuff as follows:
One particular bit of output is that I got the 'I no haz focus' message a few times in a row.
Usually I have my world-window maximized, essentially only seeing one world. The strange behaviour appears both when switching between applications (clicks or Alt+Tab make no difference), but also when I put my world windows on 'floating windows' and switching inbetween the worlds like that, no matter whether I click or Ctrl+Tab.
And.. oi, I finally found the difference all the way into writing this post. If I click on the OUTPUT area, it works fine. It works horribly when clicking the INPUT area. Other areas only work when focus wasn't in the INPUT area when losing the focus originally.
Could this be fixed?
I have a simple Lua plugin, with stuff as follows:
function OnPluginGetFocus()
world.Note("I haz focus.")
HaveFocus = true
end
function OnPluginLoseFocus()
world.Note("I no haz focus.")
HaveFocus = false
endOne particular bit of output is that I got the 'I no haz focus' message a few times in a row.
Usually I have my world-window maximized, essentially only seeing one world. The strange behaviour appears both when switching between applications (clicks or Alt+Tab make no difference), but also when I put my world windows on 'floating windows' and switching inbetween the worlds like that, no matter whether I click or Ctrl+Tab.
And.. oi, I finally found the difference all the way into writing this post. If I click on the OUTPUT area, it works fine. It works horribly when clicking the INPUT area. Other areas only work when focus wasn't in the INPUT area when losing the focus originally.
Could this be fixed?