Vivoactive and onShow() getting called multiple times when Bluetooth is connected

Hi,

A user of one of my watchfaces (NoFrills) reported that the colors on a Vivoactive change by themselves when the Bluetooth connects / disconnects.
Here is a link to the video demonstrating this

Some background on my color-changing algorithm:

The idea is for a user to quickly transition between a watchface and a widget and back to the watchface.
On a vivoactive this is achieved by swiping left and right in quick succession.
The first transitioning back and forth enables the color-changing mode (listening mode). A brush appears to indicate this state.
The color will only change on the 2nd and subsequent transitions after the listening state has been activated.
The listening mode disables itself after a timeout of about 3 seconds if no transitions take place again.

All of this is triggered in the onShow() method.

Now if you watch the video, you will see there are no transitions happening. Merely the bluetooth getting connected. It does not seem to disconnect in between. Yet the onShow() is getting called multiple times, causing the listing state to be activated (brush appears) and the color is changed multiple times thereafter.

Why does this happen on the vivoactive?
I cannot reproduce this on my 920xt.
  • I have this reported as a device bug--onShow() shouldn't be triggered in this situation. :)
  • I have this reported as a device bug--onShow() shouldn't be triggered in this situation. :)


    Thanks! Have sent you a stripped down version of the project to use for simulating the bug.
    Keep in mind it is not reproducible in either the simulator or 920xt. I believe the fenix3 also won't have the same issue as it has only been reported by 2 distinct vivoactive users.

    Have to load the prg onto an actual vivoactive to reproduce.
  • I have this reported as a device bug--onShow() shouldn't be triggered in this situation. :)


    Please make sure to test different scenarios of bluetooth connectivity.
    User just reported to me most of the issues seem to be when moving out of bluetooth range and back when it reconnects.

    If switching off bluetooth and back on it appears stable and doesn't change colors.

    So onShow being called inconsistently.