Ticket Created
over 5 years ago

WERETECH-7904

WatchUi.CheckboxMenu.setFocus behaves incorrectly on simulator

WatchUi.CheckboxMenu.setFocus behaves different on the latest simulator and hardware.  The simulator seems to always focus on the selection minus 1.  I believe the SDK is at 3.0.12 and the simulator is at 3.0.10.  I have reinstalled both to the latest to verify on multiple simulated watch faces..

New here, could someone confirm if I can rely on all the hardware operating correctly since one variant does?  I checked it on a Forerunner 945 but I want my App to work on the Fenix products etc as well.  My app depends on this functionality and I'd rather use it than write a new CheckboxMenu because other than this I really like it.

Former Member
Former Member
Parents
  • You may want to check your SDK install as the sim version matches the SDK version, so if you are pointed to the 3.0.12 SDK but have the 3.0.10 sim, something isn't right.

    Another thing is maybe try the latest 3.1.0 beta SDK (I think it's getting close to the 3.1.1 release) as there can be a time where fixes have been made in that that weren't ported back to an older SDK.

Comment
  • You may want to check your SDK install as the sim version matches the SDK version, so if you are pointed to the 3.0.12 SDK but have the 3.0.10 sim, something isn't right.

    Another thing is maybe try the latest 3.1.0 beta SDK (I think it's getting close to the 3.1.1 release) as there can be a time where fixes have been made in that that weren't ported back to an older SDK.

Children
  • Former Member
    Former Member over 5 years ago in reply to jim_m_58

    Really appreciate the time you took to respond.  In order to spare you the effort, I tracked down someone local with a Fenix today and it seems to work on it as well.  However, I have run into other shortfalls with the CheckboxMenu so I've decided to attempt rebuilding it based on IconMenuItem.  Icon menus seem to be better customizable and do nearly the same thing.. just requires I perform a bit of rework.  This is probably because it is built on the bedrock of the Menu2 which seems much more thoroughly tested on the SDK side.  Honestly not even sure why the CheckboxMenu exists, but I'm sure there is a reason.  

    If anyone cares to reproduce this issue in the future:


    In Menu2Sample/MenuTestMenuDelegate.mc add :focus=>1 to the option dictionary being passed into the new CheckboxMenu.  When run, it can be observed that Item 1 ( index 0 ) is incorrectly selected.

  • Ok, the 3.0.10 is the version of the eclipse plugin and not the SDK,  Sometimes those don't line up. If it works on the real device, I'd wager that it's the sim, but if you want to post a .prg, maybe someone can try it for you on a fenix. (zip the prg and you should be able to post it here)

  • Former Member
    Former Member over 5 years ago in reply to jim_m_58

    The watch simulator version says it's 3.0.12 but if I go to the eclipse IDE->Help->About->Installation Details it says Connect IDE 3.0.10.  I have tried updating.. fresh installs on another machine yielded the same thing.  I'm guessing it just reports the wrong version in eclipse but is the latest version.

    I can try and set up the beta SDK.. I'd rather just work around the issue though if I could be certain it's a sim issue and not an actual issue with the real units.  I'd rather be on a stable version that I'm sure is going to work with everything.