gpxstudio / gpx.studio

The online GPX file editor
https://gpx.studio/
MIT License
127 stars 20 forks source link

Renaming activity changes metadata name but not track name #75

Closed alex-hhh closed 5 days ago

alex-hhh commented 2 weeks ago

When I rename a track using Right Click menu over the name and selecting "Info...", it only changes the name in the metadata section of the file.

Later, when exporting the GPX file it shows with the updated file name, but other software will still see the track under the old name since they look only at the track name. See excerpt below of a GPX file which was renamed this way.

Could the track name also be updated to the new name?

  <metadata>
    <name>GU70-03 Swan Valley - New Name</name>
    <author>
      <name>gpx.studio</name>
      <link href="https://gpx.studio"/>
    </author>
  </metadata>
  <trk>
    <name>GU70-03 Swan Valley</name>
    <link/>
    <type>Cycling</type>