Acknowledged
CIQQA-3059

Bug report: with Connect IQ SDK 8.1.0, widget builds for Instinct 2 like devices are no longer launched in glance mode in Simulator

It's known that *widget* builds targeting Instinct 2 (Fenix 6?) like devices run in "glance mode" (https://developer.garmin.com/connect-iq/core-topics/glances/). With Connect IQ SDK 8.1.0 it's no longer the case, at least with my project (https://github.com/grigorye/Handsfree), when running in Simulator. They're launched as a regular app instead. Switching back to SDK to 7.4.3 makes the widget builds for Instinct 2 run in glance mode again.

This seem to affect only Simulator: (widget) builds for devices run as expected in glance mode on real Instinct 2 devices, for both versions of SDK.

Regards,
Grigorii

  • Yeah so I think the two simulator bugs here are:

    1) In SDK 8.1 but not 7.4.3: instinct2* devices incorrectly launch widgets in normal mode instead of glance mode

    2) In both SDK 8.1 and 7.4.3, the value of Settings > Glance Launch Mode option may be inappropriately persisted when changing the option for a different device (fr945), then switching to a device (e.g. instinct2) which does not support that option. IOW, if I set glance launch mode to normal for fr945, then run a widget for instinct2, glance mode may still be normal, even though instinct2 doesn't support changing glance launch mode, and even though instinct2 should always use glance mode and not normal mode

    I mention 2) because I think that even if 1) is fixed, 2) could still be a problem. (Given that 1) did not exist in 7.4.3, but 2) does exist in 7.4.3)

  • OK, thanks! Now I can at least test the CIQ 3? glance mode with SDK 8.1.0 and Fenix 6 (yeah, I also encountered the bug with widget running there in app mode (even though Glance Launch Mode said "Glance") and had to toggle the setting back and forth to get it working as expected. That's not ideal but better than nothing.

  • Maybe originally I wasn't closing the simulator after switching SDKs so I was testing the wrong simulator? That could be it because now I always see the problem with SDK 8.1.0. I only see the problem with instinct2* devices though - look like it might affect any device where simulator.json has '"glanceLaunchMenuDisabled": true'.  Changing glanceLaunchMenuDisabled to false (or deleting the key/value altogether) does *not* fix the problem in the 8.1 sim, although it does allow Glance Mode to be changed in the 7.4.3 sim for instinct2.

  • fr945 and fenix6 seem to work ok, so I do think this has something to do with the fact that the Glance Mode setting is available in the sim for those devices (and it works), but it isn't available for instinct2.