Home › Forums › Software Development › InteractionLib WPF: HasGaze including children? › Reply To: InteractionLib WPF: HasGaze including children?
Hi @sapp, we managed to create a simple test application here to investigate the issue: a grid, two children (buttons), all three are gaze aware and have HasGazeChanged event subscriptions where every event is logged and every GetHasGaze for every control. we tried it with both buttons having some space between them and also with buttons being aligned side-by-side together.
We were not able to reproduce the issue you mentioned unfortunately.. we did not manage to get a situation when the gaze is moving between controls, HasGazeChanged invokes and all controls return false on GetHasGaze.
Accordingly, it would be great if we could get to reproduce it. Is it possible for you to provide us with a simple example application and/or instructions of how to reproduce the behaviour?
Regarding the short loss of gaze, this is mentioned in the documentation @ https://tobiitechnology.github.io/TobiiCoreSDK/articles/wpf.html
<Grid x:Name="LayoutRoot"
tobii:Behaviors.IsGazeAware="True"
tobii:Behaviors.GazeAwareMode="Delayed"
tobii:Behaviors.GazeAwareDelayTime="1000">
...
</Grid.Style>
</Grid>
Try to adjust this value and let us know how you get on. Best Wishes.