organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
8.58k stars 837 forks source link

[routing] Ghost intermediate points after removal #7939

Open RicoElectrico opened 2 weeks ago

RicoElectrico commented 2 weeks ago

Describe the issue When specific conditions are met, deleting an intermediate point when routing will make all intermediate markers disappear, but they will still be taken into account when routing

Steps to reproduce

  1. Make a route with 2 intermediate points
  2. Start routing
  3. Pass the 1st point
  4. Delete 2nd point
  5. Routing will turn off and show a new route
  6. Start routing again
  7. Route has ghost waypoints

Expected behaviour It works as usual, points are wiped from the route entirely

Screenshots

https://github.com/organicmaps/organicmaps/assets/1409116/efdc5ca8-a1e4-40df-b488-2da78cce410c

System information:

Additional context Occurs also in all Fdroid archival versions down to 2021.09.01-6 (minimal usable with our map data CDN right now)

RicoElectrico commented 1 week ago

Replicated also on LG G6 (Android 9). The behavior is similar, but the 2nd point doesn't persist like the 1st, curiously.