{"action":"created","issue":{"url":"https://api.github.com/repos/osmandapp/Osmand/issues/2641","repository_url":"https://api.github.com/repos/osmandapp/Osmand","labels_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2641/labels{/name}","comments_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2641/comments","events_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2641/events","html_url":"https://github.com/osmandapp/Osmand/issues/2641","id":157976020,"number":2641,"title":"Save current GPX trace takes some time and needs a progress indicator","user":{"login":"polarbearing","id":8266355,"avatar_url":"https://avatars.githubusercontent.com/u/8266355?v=3","gravatar_id":"","url":"https://api.github.com/users/polarbearing","html_url":"https://github.com/polarbearing","followers_url":"https://api.github.com/users/polarbearing/followers","following_url":"https://api.github.com/users/polarbearing/following{/other_user}","gists_url":"https://api.github.com/users/polarbearing/gists{/gist_id}","starred_url":"https://api.github.com/users/polarbearing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polarbearing/subscriptions","organizations_url":"https://api.github.com/users/polarbearing/orgs","repos_url":"https://api.github.com/users/polarbearing/repos","events_url":"https://api.github.com/users/polarbearing/events{/privacy}","received_events_url":"https://api.github.com/users/polarbearing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osmandapp/Osmand/labels/Observed","name":"Observed","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-01T18:30:52Z","updated_at":"2016-06-02T07:06:54Z","closed_at":null,"body":"I pressed \"Save current GPX track\" and assumed that, when the dialog disappeared, the track was already saved. I did not realise that saving the current GPX track(s) takes quite long time. While I saw that the GPX-button had turned to \"Save\" it was unclear that this was still in progress, and I closed the app.\r\n\r\nWhat I found were a few gpx files, the most recent missing, and the last one being written was truncated.\r\n\r\nI tried again and let the \"Save\" run, which took 5 min until it turned back into the \"GPX\" button, and wrote 24 MB of files. \r\n\r\nThe good thing is that no data were missing, the app had kept the internal storage until the saving was successful in the end.\r\n\r\nSuggestions: \r\n* Indicate more clearly that the saving is still in progress (progress bar, rename \"Save\" to \"Saving\", have the word \"Saving\" blink), \r\n* give a warning before closing the app that saving is still in progress\r\n* rename \"Save current GPX track\" into \"Save recent GPX tracks\" since it can a couple of them.\r\n\r\n(tested in 2.4.0#16950M, on Nexus S)"},"comment":{"url":"https://api.github.com/repos/osmandapp/Osmand/issues/comments/223212499","html_url":"https://github.com/osmandapp/Osmand/issues/2641#issuecomment-223212499","issue_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2641","id":223212499,"user":{"login":"polarbearing","id":8266355,"avatar_url":"https://avatars.githubusercontent.com/u/8266355?v=3","gravatar_id":"","url":"https://api.github.com/users/polarbearing","html_url":"https://github.com/polarbearing","followers_url":"https://api.github.com/users/polarbearing/followers","following_url":"https://api.github.com/users/polarbearing/following{/other_user}","gists_url":"https://api.github.com/users/polarbearing/gists{/gist_id}","starred_url":"https://api.github.com/users/polarbearing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polarbearing/subscriptions","organizations_url":"https://api.github.com/users/polarbearing/orgs","repos_url":"https://api.github.com/users/polarbearing/repos","events_url":"https://api.github.com/users/polarbearing/events{/privacy}","received_events_url":"https://api.github.com/users/polarbearing/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T07:06:53Z","updated_at":"2016-06-02T07:06:53Z","body":"> I cannot actually reproduce how you would have more than one track in memory\r\n\r\nIn \"Trip recording\", \"Log tack to GPX file during navigation\" is ON. Thus driving around for four weeks with navigation collects a new ```<trkseg>``` for each route, internally. When I \"Save current GPX track\", all these data are written into multiple files, one file per day, with possibly multiple ```<trkseg>```s in it. "}}
{"actor":{"display_login":"polarbearing"}}