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 added ActionMenu proper. And in the simulator (8.4.0) with fr955 I have a different experience:

    The ActionMenu is displayed as a response of a user action.

    - if I click the start button of the simulated watch with the mouse, then the ActionMenu closes itself and everything is as expected

    - if I hit enter on the keyboard, then the ActionMenu closes itself and works as expected

    - if I click on the line of the action menu with the mouse (simulating a touch), then the action works (i.e: onSelect is called with the correct item) BUT the ActionMenu is not closing itself. It is still on the display. Next thing (almost anything I do) causes a crash.

    For the first 2 cases (click the watch button or hit enter) it works no matter how many times I do it (of course it means that the ActionMenu is closed, and a new one is showed after the user does trigger it again)

Comment
  • I added ActionMenu proper. And in the simulator (8.4.0) with fr955 I have a different experience:

    The ActionMenu is displayed as a response of a user action.

    - if I click the start button of the simulated watch with the mouse, then the ActionMenu closes itself and everything is as expected

    - if I hit enter on the keyboard, then the ActionMenu closes itself and works as expected

    - if I click on the line of the action menu with the mouse (simulating a touch), then the action works (i.e: onSelect is called with the correct item) BUT the ActionMenu is not closing itself. It is still on the display. Next thing (almost anything I do) causes a crash.

    For the first 2 cases (click the watch button or hit enter) it works no matter how many times I do it (of course it means that the ActionMenu is closed, and a new one is showed after the user does trigger it again)

Children