Bug 281380 - Marble looses all tracking data when closed
Summary: Marble looses all tracking data when closed
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: 1.3 (KDE 4.8)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 12:04 UTC by Bernhard Beschow
Modified: 2012-07-28 15:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Beschow 2011-09-05 12:04:48 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When closing Marble, it looses data that is being recorded.

Reproducible: Always

Steps to Reproduce:
Close Marble gracefully or terminate it while recording a track.

Actual Results:  
Marble looses all tracking data.

Expected Results:  
Marble should never loose tracking data. It should keep the tracking data even if it was closed forcefully (caused by internal or external errros).
Comment 1 Bernhard Beschow 2011-09-05 12:06:36 UTC
Mappero behaves the way requested above.
Comment 2 Thibaut Gridel 2012-07-28 15:44:19 UTC
Git commit 35aa9a6cb9097380d282a48ee4679cb65bdd1735 by Thibaut Gridel.
Committed on 28/07/2012 at 17:43.
Pushed by tgridel into branch 'master'.

PositionTracking: store current track to file, and reload on next launch

User will not lose his data as it is saved on closing the application
and reopened at startup.
Applications which want to benefit this need to call:
marbleModel()->positionTracking()->readSettings() and writeSettings()

M  +3    -1    src/QtMainWindow.cpp
M  +0    -3    src/lib/CurrentLocationWidget.ui
M  +89   -3    src/lib/PositionTracking.cpp
M  +4    -0    src/lib/PositionTracking.h

http://commits.kde.org/marble/35aa9a6cb9097380d282a48ee4679cb65bdd1735