• A couple of things I've noticed -

    1. After rebooting two clicks are needed to get to the launcher from the clock.
    2. With a keyboard I'm currently working on I'm using the button to
      exit and return the text but Bangle.setUI({mode:"custom", btn:()=>{}}) is throwing

      Uncaught Error: Unhandled promise rejection: Error: Can't read property 'push' of undefined
      at line 12 col 2054 in .boot0
      ...tions.btn)Bangle.btnWatches.push(setW­atch(options.btn.bind(o...
      
    1. After rebooting two clicks are needed to get to the launcher from the clock.

    Ok, I now managed to reproduce by doing (edit: see my next reply for additional info re reproducing):

    1. Flash either fw 2v23 stable or cutting edge 2v23.16
    2. Run Bangle.factoryReset() from the Web IDE
    3. Install setuichange from the app loader
    4. Long press HW button to get to the clock face (release when the "Loading..." message appears/flashes).
    5. Long press HW button to reset the watch to the clock face again.
    6. Click HW button - nothing happens
    7. Click HW button a second time - the launcher is loaded.

    If I change this:

      } else if (mode=="clock") {
        Bangle.CLOCK=1;
        Bangle.btnWatches = [
          setWatch(Bangle.showLauncher, BTN1, {repeat:1,edge:"rising"})
        ];
    

    ... to edge falling like this:

      } else if (mode=="clock") {
        Bangle.CLOCK=1;
        Bangle.btnWatches = [
          setWatch(Bangle.showLauncher, BTN1, {repeat:1,edge:"falling"})
        ];
    

    ... the problem goes away.

    So somewhere there is something hindering the watch from acting on the first rising edge after a long press of the hardware button. But not the first falling edge it seems.

About

Avatar for Ganblejs @Ganblejs started