On the app launch map view scrolls to current location without updating it #2836
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#2836
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OS: LineageOS 17.1 (Android 10)
OM: version 2022.05.31-10-FDroid
Device: Xiaomi Redmi Note 9 Pro
Doesn't always reproduce so can't attach logs and video.
Sometimes I'm planning my trip and adding bookmarks in other city while sitting home.
Next day I'm going to subway and launch OM to continue planning.
But instead of showing me the position I was yesterday (i.e. the other city), it starts to scroll to the last detected position. And may be that would be fine if the location was my real location (somewhere in my city), but it scrolls to some "cached" location which is my home or even other address which has been "cached" (location arrow is
greyed out).
I suggest to disable auto scrolling to location on start, at least until it hasn't been really updated
@vng it looks like a bug. Did you insert 24 hours timer to restore "my position" mode? But what is that "cached" position then?
@PetbkA can you please enable logs and reproduce it?
@biodranik , I'll try, but now the location is cleared so there's no arrow at all
@biodranik , tried yesterday on 05.31 but couldn't reproduce auto scrolling to position - OM always starts on the last map view location and doesn't scroll to "current" location.
The only thing that's still here on 2022.06.18-2-FDroid is that it scrolls to greyed out arrow when location search is triggered manually (video, logs), although this isn't the case of this bug
Guess it isn't.
Nope. The above try was after 5 or 6 hours from certain location detection. And now there's no arrow at all.
Yes.
Considering the time that passed after the last location detection, it would be better to search for location again. On the other hand, it would be better to just remove the arrow.
I guess for now there's no real issue
So the bug is that the grey arrow is displayed for a very outdated location. Right? Then it should be fixed. Can you please reproduce it with enabled logs and confirm that our code still shows a location which is > 5min old?
OK, I'll try again right after 6+ minutes from the last location detection
@biodranik , tried yesterday:
Here are the logs
@vng what is the current timeout for the outdated location? 15 minutes looks too much, it was 5 minutes as I remember.
2022.07.01-6-FDroid - reproduced again, i.e. app scrolled to "grey" position after launch, although 9 hours have passed since previous launch (according to app.log).
Here are the logs.zip. Logging has been enabled all the time since I created this issue, and archive has been manually created in Android\data right after reproducing the bug
@rtsisyk @vng why the old position is not ignored after 9 hours on Android?
@biodranik Check the code, I can't say anything here.