Bug 373052

Summary: Viewport recenters on my position every X seconds
Product: [Applications] marble Reporter: Albert Astals Cid <aacid>
Component: androidAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: Marble Maps 1.1 (Android)   
Platform: Android   
OS: Android 5.x   
Latest Commit: Version Fixed In: 1.0.0-22

Description Albert Astals Cid 2016-11-28 21:40:39 UTC
How to reproduce:
 * Press the "directions button" (the one on the bottom right corner)
 * Press the button that replaces the "directions button"
 * Move the viewport so that the blue center representing is not visible
 * Wait X seconds (around 15)
 * See how viewport recenters around the dot blue

I think that make no sense, since i already have the "go to where i am button" if I want to find myself again.

I guess this is because i asked the app that i wanted to go where i already am and is kind of confused?
Comment 1 Dennis Nienhüser 2016-11-28 22:44:26 UTC
It's in a degenerated navigation mode, yes, where only the automatic re-centering is active. I created a task [0] to improve the user interface.

[0] https://phabricator.kde.org/T4761
Comment 2 Dennis Nienhüser 2016-12-01 21:41:51 UTC
Git commit cf96b9025831ece220a4749d76e23a572b750eae by Dennis Nienhüser.
Committed on 01/12/2016 at 21:37.
Pushed by nienhueser into branch 'master'.

Improve Navigation Mode

- Disable the navigation mode button when there is no valid route
- Allow activating a follow-my-position mode from a dialog appearing
  when tapping on the current position
FIXED-IN: 1.0.0-22
Maniphest Tasks: T4761

A  +75   -0    src/apps/marble-maps/CurrentPosition.qml     [License: LGPL]
M  +17   -4    src/apps/marble-maps/MainScreen.qml
M  +1    -0    src/apps/marble-maps/MarbleMaps.qrc
M  +1    -0    src/apps/marble-maps/NavigationManager.qml
M  +2    -0    src/apps/marble-maps/PositionMarker.qml

https://commits.kde.org/marble/cf96b9025831ece220a4749d76e23a572b750eae