Under Review
over 1 year ago

onTap not being called in Sim

The behavioDelegate onTap() event is not firing on a touchscreen device. Any screen tap raises the onKey() event with a key value of 255

Testing the tap function in my app on Vivoactive HR and VenuSq  in simulator, the onTap() event is not being called.

The app builds and runs correctly on the device (only have the VA-HR to test on).

SDK 6.2.1

Mac Ventura 13.3.1 

It appears to be a new issue, it was working fine on earlier SDK's during development, Also fails in 4.2.

  • Thanks for honing in on the issue here . I was able to reproduce and will get this reported.

  • Fixed.

    When running on a hybrid device like the F7, I toggle off the touch screen .

    This setting persists when runniing on ALL touch devices - but on a putre touch device (like venusq) the toggle touch screen option is greyed out,.

    Solution - simulate the F7. Toggle ON the touch screen, the simulate the venusq and the touch screen is active!

    Now That's a BUG!

  • Now I'm really confused!

    I have set up a development environment on my MacBookAir and guess what???

    Yup, on this platform the onTap() callback is being triggered. 

    Anyone with any suggestion about finding where the discrepancy lies will be very welcome.

  • Interesting that it isn't universal.

    Any suggestions where the difference may lie?  I have just upgraded to Ventura 3.4.1, and am running SDK 6.2.1. 

    The Monkey C Language Support extension is v1.0.9. which was installed 4 weeks ago.

    This is what I see on the Monkey C Details page: 

    I have examined my Bluetooth mouse configuration in the Mac settings and they are at default values. I have tried variations with no change in behaviour.

    I have tried with a USB mouse with the same results.

    This is causing me some inconvenience as I am unable to complete the testing of a new and quite important feature of the app. 

  • Running the Input sample demonstrates the issue:

    Running with the VA-HR - the onTap() event is not being raised with a mouse click. It reports "UNKNOWN_BUTTON":

    The Vivoactive 3 also reports "UNKNOWN_BUTTON"