[LOGGED] Keyboard watcher behavior
-
I don't know if it is normal and I don't understand something.
Normally I use the Keyboard Watcher actor with "down" as direction e.g. with the key '1'. If I hit 1 to fill a value in an actor nothing happen with the keyboard watcher. I thought it is the normal behavior. But if I select "up" or "both" the keyboard watcher become active if I hit the key '1' even if I am tiping in a value field of an actor.
It is the normal behavior?
best
Jean-François
-
The file you sent works just fine for me in 3.0.7 when set to down
https://recordit.co/ZjY5M4KaXfWhen it's set to up or both, it's going to trigger when you release the key because once a key is released, the "focus" is no longer being hogged by the actor you're typing into.
I am unsure if this is the ideal behavior, but it works this way in 2.6.1, so technically it is the expected behavior.
I have brought this to @mark 's attention so we'll see if it's something that is a bug or not. -
Thank you. I was not sure if it was the right behavior but your explanation:
When it's set to up or both, it's going to trigger when you release the key because once a key is released, the "focus" is no longer being hogged by the actor you're typing into.
is logical and it seems to be indeed the correct way for this actor to work
best
Jean-François
-
I can totally see how it could be undesirable behavior in certain cases though
-
I have fixed this behavior for the next release. Now you should get 'up' notifications only when you would also get a 'down' notification.
(Key ups are handled in a very different way than key downs internally, because most widgets (e.g. a text box) don't want them. Thus the problem you discoverved.)
Best Wishes,
Mark -
Thanks
Jean-François