[CIQBUG] Pressing menu from within the app menu on 920 shows system menu

I've been trying to work around some issues in my menu code, and I noticed this. It seems to me that it is a bug, but I'm not sure.

The following directions can be used to reproduce it.

  • Open any ConnectIQ app that has a menu.
  • Hold Menu until the app menu appears.
  • Hold Menu again. An Options menu appears (items on the menu are Connect to WiFi and Lock Screen)
    • If you press Menu, you will go back to the application menu.
    • If you press Back, you will go back to the application menu.



Additionally

  • Open any ConnectIQ app that has a menu.
  • Hold Menu until the app menu appears.
  • Press Menu. A menu with the title Menu appears (items on the menu are History, My Stats, and Settings)
    • If you hold Menu, you will see the Options menu as in step 3 of the above list.
    • If you press Menu, you will be returned to the IQ Apps screen.
    • If you press Back, you will be returned to the IQ Apps screen.



It seems weird because this is a new (and unexpected) way for an application to exit. I don't know if this behavior can be prevented. I tried adding an onKey() handler to my MenuInputDelegate to log the key press, but nothing turned up. I suppose I should try to implement handleEvent() to see if I can intercept the key press or not. If I can't intercept that key press and prevent the system menu from loading, I it is possible that the user could exit my app without saving their activity data.

Travis
  • Former Member
    Former Member over 10 years ago
    This is a bug as you suspect.

    The 920 team was actually just working on a fix yesterday, so I suspect it will be corrected in the next FR920 update.