Open david-gpu opened 1 month ago
The bug is reproducible. To reproduce it, follow these steps:
As a result, after recalculating, the track is updated, but once you save it and review the changes, they won’t appear. Instead, the original track will be displayed without the modifications.
OsmAnd~ 4.9.0#3258m, released: 2024-09-23
https://github.com/user-attachments/assets/3271f00e-38c1-48cb-bcc7-d8b114acf820
Description
When you select a track and click on "Recalculate Route Without Profiles Change", the route is updated on the screen. However, if you then click on the "Save" button on the upper right corner, the GPX is left unchanged.
Steps to reproduce
Open a track. Click on the bottom right icon that indicates which type of routing is used. This opens a menu that reads "Route between points". Scroll down and click on "Recalculate Route Without Profiles Changing".
A new route will appear on the screen after a few seconds -- e.g. because the map has changed or because
routing.xml
is different from the last time the route was computed. Now click on the "Save" button on the upper right corner.Actual result
The track remains unchanged after saving.
Note that the new route will be saved if you click on a transportation method, such as Cycling. But if you select "Recalculate Route Without Profiles Changing" then the changes are not saved.
Expected result
The track should be updated with the new route as it appeared on the screen after "Recalculate Route Without Profiles Changing" was clicked.
Your Environment (required)
WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!