Under Review
over 1 year ago

CustomMenu is broken on Venu 2 Plus

I was attempting to update my apps for compatibility with the new Venu 2 Plus device profile, this problem doesn't seem to occur on any other device profiles (including the System 5 previews for Venu 2 and Fenix 6 Pro). My on-device settings use a CustomMenu to select colors, and when the CustomMenu is called, it crashes in the sim with a failure to set the setItemHeight(). I checked my code a dozen times, then I decided to try and compile the MenuSample included with the SDK, and when the CustomMenu is called on that app, the same thing happens. So it's not just my app.

Of course with the Venu 2 Plus only being announced a day or two ago, there's no way I can test it on a device, but I thought I'd better bring it to your attention, to see if this a simulator-only issue, or exists on the device itself as well. It also occurs whether compiling with 4.1.0 beta 1 or 4.0.7 SDK (which I was surprised to see it would compile a venu2plus build).

The details of the crash:

Error: System Error
Details: Failed invoking <symbol>
Stack:
- setItemHeight() at C:\grmn\prj\DI\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:2974 0x30003e64
- initialize() at C:\grmn\prj\DI\toolchain\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:2852 0x30003c98
- initialize() at /project/source-ciq32plus/CustomMenuColorChips.mc:13 0x100028bc
- onSelect() at /project/source-ciq32plus/Menu2SetColorsDelegate.mc:12 0x10002293

Encountered app crash.