Acknowledged

onRelease event does not update ClickEvent coordinate aftre first use

The onRelease call back in a behavior delegate does not update the ClickEvent coordinates past the first time it is called on physical devices. This issue is only seen on the device itself as the simulator works as expected and updates the onRelease coordinates properly.

This was tested on a Fenix 7 using firmware 13.22.

See below the on device System.println log file printing the coordinate[0] and coordinate[1] when onHold is called and when onRelease is called.

The onHold changes as expected while the onRelease stays stuck to the value used the first time and never gets updated subsequently. This is problematic when trying to capture a movement while on hold is triggered because it depends on what the user did the first time around and is certainly not working as expected

Hold - x: 222 y: 131
Release - x: 108 y: 125
Hold - x: 230 y: 128
Release - x: 108 y: 125
Hold - x: 71 y: 136
Release - x: 108 y: 125
Hold - x: 72 y: 138
Release - x: 108 y: 125
Hold - x: 69 y: 138
Release - x: 108 y: 125
Hold - x: 230 y: 128
Release - x: 108 y: 125

Parents
  • This is something I'd only test on a real device, and even with real devices, things could vary - as I said it's not being done by CIQ, but is a native view.

    I'd probably take a different approach that I use in my apps.  You know your location, and I doubt you ever want to show all 3000 items.  Just show the closest 20 or 50 to your location or all within X miles, and don't worry about the zoom level. Also, look at using MapTrackView as it does things like show your track without you having a line of code and the screen shows your current location in the center of the screen.

Comment
  • This is something I'd only test on a real device, and even with real devices, things could vary - as I said it's not being done by CIQ, but is a native view.

    I'd probably take a different approach that I use in my apps.  You know your location, and I doubt you ever want to show all 3000 items.  Just show the closest 20 or 50 to your location or all within X miles, and don't worry about the zoom level. Also, look at using MapTrackView as it does things like show your track without you having a line of code and the screen shows your current location in the center of the screen.

Children
No Data