Acknowledged

bug: can't use Menu2 in system7 devices in the simulator

SDK 6.4.2, I use Menu2, and it works on devices like fenix6, but it doesn't work on devices like fr255 since the newest update of the devices a few days ago. I think it's down to the addition of CIQ 5.0.0 to these devices. I checked it on a real fr965 and it works, so the problem is only in the simulator.

Error: Unhandled Exception
Exception: UnexpectedTypeException: Unexpected title type, expected String, string ResourceId, or Drawable
Stack: 
  - setTitle() at 704b03c0.mb:2988 0x300067ed 
  - initialize() at 704b03c0.mb:2956 0x3000684d 
  - initialize() at MyApp/bin/gen/006-B4024-00/source/Rez.mcgen:35 0x1000708c 
  - onMenu() at MyApp/source/MyDelegate.mc:359 0x1000373f 
  - onMenu() at 704b03c0.mb:1407 0x30005530 
  

the code:

    function onMenu() as Boolean {
        WatchUi.pushView(new Rez.Menus.MainMenu2(), new MyDelegate(), WatchUi.SLIDE_RIGHT);
        return true;
    }

Parents
  • Interesting. I wasn't able to recreate this on Windows or Mac with the menu2sample tho.

    If you inspect Rez.mcgen around the area of the crash (I think it should be in the Layouts module), does anything jump out at you?

Comment
  • Interesting. I wasn't able to recreate this on Windows or Mac with the menu2sample tho.

    If you inspect Rez.mcgen around the area of the crash (I think it should be in the Layouts module), does anything jump out at you?

Children
No Data