Acknowledged
CIQQA-3719

Action Menu does not work with touch/mouse in the simulator - app crash

If you use an action menu using the device buttons everything seems to work fine. But if you use touch, i.e. click on the menu itself in the simulator with the mouse, the delegate is called, but the action menu is not popped and stays displayed.

This ultimately results in an app crash when you do use the buttons in an attempt to get off the menu:

selected 1

Error: Unexpected Type Error
Stack: 

Encountered app crash.

Thankfully, it all seems to work correctly on a real device, but means it cannot be tested at all on a touch device like the venu 2 or vivoactive 6.

This is broken in SDK 7.1.0 through to 8.4.0. It last worked in 6.2.4

Parents
  • I only see crashes when using the mouse to select an item by clicking on the item on the screen. Not if I use the mouse to select and enter using the buttons. Maybe try with a custom delegate which has onSelect(). 

    To further my point, why should the use of a non-custom delegate affect the scenario when the user presses BACK to exit the action menu (in the sim)?

    Surely the BACK functionality should work even if there's no custom onSelect() handler?

    Unless the code is somehow written so it crashes / malfunctions on purpose just because I didn't pass in a custom delegate.

    But then again, you pass in a custom delegate and it stiil crashes (just not in all the cases that it crashes for me).

Comment
  • I only see crashes when using the mouse to select an item by clicking on the item on the screen. Not if I use the mouse to select and enter using the buttons. Maybe try with a custom delegate which has onSelect(). 

    To further my point, why should the use of a non-custom delegate affect the scenario when the user presses BACK to exit the action menu (in the sim)?

    Surely the BACK functionality should work even if there's no custom onSelect() handler?

    Unless the code is somehow written so it crashes / malfunctions on purpose just because I didn't pass in a custom delegate.

    But then again, you pass in a custom delegate and it stiil crashes (just not in all the cases that it crashes for me).

Children
No Data