Bug 254800 - Unable to enable GPS by default on maemo
Summary: Unable to enable GPS by default on maemo
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR normal
Target Milestone: 1.0 (KDE 4.6)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 23:19 UTC by jack
Modified: 2010-10-26 21:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.11.0 / KDE 4.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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