Comments (3)
The bug was partially reproduced. Follow these steps to reproduce:
- Create a new track without a description.
- Add a description to the track.
- Attempt to edit this description; editing is not possible.
- Toggle the display of the track on the map off and then on again.
- Check the description; you should now be able to edit it.
- Edit the description and repeat the process of toggling the track display on and off.
- Review the track description again.
As a result, the original description will be displayed instead of the edited one.
OsmAnd~ 4.8.0#2318m, released: 2024-05-16
video_2024-05-16_18-37-16.mp4
from osmand.
When we now first write a description, it goes to the osmand:desc
extension. Is then shifted to metadata:desc
, and later read from there. But upon an edit the new version again goes to the osmand:desc
extension, leaving the value in metadata:desc
untouched.
Problem is e.g. here
- EDIT: This PR #19888 fixes at least the issue of Description edits being saved to the wrong field. I have merged as a hotfix.
- But there is a remaining issue that if a user has a GPX file which has both
metadata:desc
andosmand:desc
present, we do not display the latter. (Such files were produced by e.g. the buggy v4.7.17 Desc-Edit functionality, or users may have directly file-edited GPX files, or perhaps also by having a 3rd party GPX with a description already present and there having used an OsmAnd <=v4.7.16's Description-Edit function.)
from osmand.
@vshcherb Perhaps here
we should concatenate desc and readDescription rather than filtering a shift action to cases where desc is empty, like in this PR #19900?I have interim merged this as an urgent fix because as of before every track in this condition upon a user editing the description did actually lose data.
from osmand.
Related Issues (20)
- To much text on small display depending on screen size ? HOT 8
- Side effect while track appearance change HOT 1
- iOS App Crashes on Zoom & POI Selection HOT 8
- Live updates lead to crash HOT 12
- Changes to imported objects cannot be persisted
- The "MyPlaces>Tracks>Show on map" menu action does not switch to the map screen HOT 1
- Commit history question HOT 7
- Map Radius Tool HOT 5
- Map Search Radiua HOT 3
- Auto-record track doesn't start HOT 7
- Headset forgets the first syllables of turn-by-turn directions. HOT 4
- Can´t (re)name favorites. HOT 4
- Quick Action: POI Overlay is missing the search field HOT 3
- Quick Action: add Configure Map Routes as choosable action
- Undesired map rotation (at stand stil) during navigation (with map in movement orientation) HOT 3
- Glide Ratio widget shows (completely) wrong values HOT 7
- bicycle=use_sidepath is too strong HOT 4
- Quick action to switch between Terrain styles
- Crash when looking for directions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmand.