Bug 254800

Summary: Unable to enable GPS by default on maemo
Product: [Applications] marble Reporter: jack <samtuke>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: 1.0 (KDE 4.6)   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In: 0.11.0 / KDE 4.6.0
Sentry Crash Report:

Description jack 2010-10-20 23:19:40 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Each time I start marble on my N900 I have to manually set it to use GPS rather than the default 'disabled' option.

Can't this be set to be enabled when the app starts?

Reproducible: Always

Steps to Reproduce:
Run marble on Maemo, click current location, observe disabled status.

Actual Results:  
GPS is disabled.

Expected Results:  
GPS is enabled.
Comment 1 Dennis Nienhüser 2010-10-21 08:07:35 UTC
I don't want GPS on by default to prevent the battery from being drained, but I plan to restore the last state: If GPS was on the last time you shut down Marble, it will be activated again, otherwise not.
Comment 2 jack 2010-10-21 11:51:36 UTC
> I plan to restore the last state

Sounds good.
Comment 3 Dennis Nienhüser 2010-10-26 21:51:06 UTC
SVN commit 1190059 by nienhueser:

When a position tracking plugin was active at shutdown time, save that information and activate it again at the next start.
BUG: 254800

 M  +28 -0     QtMainWindow.cpp  
 M  +23 -1     lib/CurrentLocationWidget.cpp  
 M  +1 -1      lib/CurrentLocationWidget.h  
 M  +3 -0      marble.kcfg  
 M  +25 -0     marble_part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1190059