Speedometer flickering due to trying all GPS providers #6270
Open
opened 2023-10-09 00:29:26 +00:00 by RicoElectrico
·
20 comments
No Branch/Tag specified
master
weblate-i18n
pastk-data
github/fork/AndrewShkrob/android-auto/car-location
ios/pp-for-track-recording
redauburn-patch-1
ios/route-preview-redesign
rt-android-splashscreen-android12
geojson-support
github/fork/Raghaddahi/fix/1566-url-class-bugs
github/fork/rebustj/fix/coredata-crashes
github/fork/hemanggs/zoom-button-fix
github/fork/hemanggs/styles-poi
github/fork/AndrewShkrob/ci/cmake-workflow
beta/ios-hotfix-search
github/fork/sddzhyc/master
ios/search-fix-to-child-vc
github/fork/savsch/feat/android-modal-search
github/fork/RedAuburn/temp-auto-fix
github/fork/RedAuburn/rework-theme-system
github/fork/rimas-kudelis/sound-strings-lt
github/fork/coderang-gk/feature-homescreen-widget-bookmark
github/fork/AndrewShkrob/android/sdk-om
github/fork/FedericoCeratto/reuse-sbom
github/fork/gpesquero/my_location
github/fork/DevarshVasani/DownloadingError-Message
github/fork/DevarshVasani/handle-surface-destruction
github/fork/Strubbl/Strubbl-patch-1
github/fork/RedAuburn/mastodon-bluesky
github/fork/CrazyStevenz/patch-2
ios/update-toast-ui
pastk-generator-genorder
pastk-autogen-subways
github/fork/meenbeese/integrate-sonarcloud
github/fork/dmitrygribenchuk/localization_cleanup
github/fork/coderang-gk/android-transparent-navbar-light-mode
ios/add-icons-to-the-live-activity-widget
github/fork/hemanggs/parse-coordinate-links
github/fork/gpesquero/intermediate_points
ios/fix-search-on-map-tests-for-ipad
release/2025.03.02
github/fork/RedAuburn/always-update-fast
pastk-drape-subways-greying-out
ios/update-search-vc-ui
github/fork/Isira-Seneviratne/AudioManagerCompat
alpha/2025.02.23
crowdin-master
l10n
github/fork/soshial/generate-taginfo-json
github/fork/DeshDeepakKant/ui/improve-description-display-9943
github/fork/hemanggs/increase-touch-area
ios/search-ui-redesign
ios/show-new-search-vc-from-the-route-building
release/2025.01.24
github/fork/savsch/fix/android-pp-bookmark-edit-issue2418
github/fork/renderexpert/remove_gles2
github/fork/Osyotr/windows-unittests
github/fork/AndrewShkrob/android/world-maps-for-all-flavors
github/fork/RedAuburn/splashscreen-android12
drop-appstream-glib
separate-locationservice-lib
github/fork/gpesquero/remove_speed_display
github/fork/zeac/feature/1
github/fork/DeshDeepakKant/fix/building_levels_hint
github/fork/gpesquero/route_plan
github/fork/IsiGebauer/StylingMtbTrails
github/fork/DeshDeepakKant/Mobile-Internet-Settings
release/2025.01.12
github/fork/AndrewShkrob/actions/cpp-codestyle-check
github/fork/AndrewShkrob/clang-format
int/anrdoid-auto/permissions-screen
rt-docs-release-management-principles
generator-wikipedia
generator-actions
generator-subways
ios/enable-cpp-swift-interop
github/fork/map-per/sand
pastk-docs-values
fix-deprecated-atomic-load
rt-docs-communication
rt-docs-collaboration
github/fork/meenbeese/bsdiff
github/fork/meenbeese/karabakh
github/fork/AndrewShkrob/android-auto/location-off
ios/fix-compile-warnings-and-cleanup-unsupported-code
rt-ios-managed-signing
github/fork/IsiGebauer/AllowDirToBeEmpty
ios/fix-ios-test-ci-action-failure
ab-ios-bookmarks-last-category
github/fork/IdeallyGrey/swap-abandoned-disused-rail-rendering
github/fork/meenbeese/atomic-shared-ptr
pastk-docs-teams
qt-3d-preferences
github/fork/TobiPeterG/cur-speed-widget
fix-file-read-exception
fix-track-length-calculation
github/fork/kavikhalique/foreground-crash-fix
github/fork/meenbeese/py-rewrite
pastk-styles-feature-types-migration
release/24.11.27
github/fork/AndrewShkrob/docker/ubuntu-container
alpha/2024.11.26
beta/2024.11.26
github/fork/AndrewShkrob/refactoring/network
github/fork/Ferenc-/cmake-moc-workaround
github/fork/Ferenc-/qt-touchpad-rotate
ab-tests-macro-fixes
ios/track-recording-fifth-bar-button
github/fork/kavikhalique/expand-touch
vng-fix
release/24.11.12
alpha/2024.11.10
vng-langs
github/fork/DevarshVasani/enable-strict-mode
patch-3
release/2024.10.22
alpha/2024.10.22
beta/2024.10.22
github/fork/gpesquero/separators
github/fork/Piaszczysty/route-arrow-fix
place-page-for-tracks-backup
github/fork/RedAuburn/profile-image
github/fork/AndrewShkrob/magic-enums
release/2024.10.08
release/2024.10.04
github/fork/AndrewShkrob/data/resources-refactoring
github/fork/AndrewShkrob/data/move-fonts
github/fork/AndrewShkrob/core/autogenerate-translations
github/fork/shakhat/feature-#7358
alpha/2024.10.01
vng-search
github/fork/gpesquero/drape_locale
beta/2024.09.19
release/2024.09.19
rdb-weblate
release/2024.09.08
github/fork/alnzrv/wikimedia-fix
android/speed-limit-exceed-flag
alpha/2024.09.03
alpha/2024.09.03-ios-track-recording-feature
mb-PendingIntent-requestCode-fix
alpha/2024.08.29
add-timestamps-to-track
ab-ios-crash-on-assert
github/fork/dmfrodrigues/place-panel
github/fork/Tmpod/tmpod-alt-routes
github/fork/zyphlar/hyphenate_interpolated_addresses
alpha/2024.08.25-ios-track-recording-feature
alpha/2024.08.29-ios-track-recording-feature
github/fork/cortadocodes/create-reproducible-build-dockerfile
github/fork/dvdmrtnz/taginfo
github/fork/gpesquero/display_next_stop
android/speed-limit-threshold
android-oauth2-with-browser
release/2024.08.17
changes-from-release
release/2024.08.15
alpha-iOS-Bluetooth
github/fork/RedAuburn/dynamic-sidewalk-name
github/fork/Jean-BaptisteC/linkify_desc
github/fork/Jean-BaptisteC/phone_fab
github/fork/Jean-BaptisteC/download_screen
rdb-cldr-plural-order
ab-unused-code
ab-android-location-fix
recent-track-recorder
ab-cleaner-shutdown
localized_address_ordering
github/fork/gpesquero/speed_class
github/fork/Tmpod/task/improve-clangd-support
ab-android-layer-button-highlight
weblate
release/2024.07.08
alpha/2024.07.25-rtsisyk-ios-test
github/fork/willcohen/camp_pitch
ios-implement-the-recently-deleted-support-to-icloud-sync
recently-deleted-categories-using-postfix
fix-ios-simulator-version
github/fork/SRSAS/systemUIMode
github/fork/RedAuburn/collection_times-support
alpha/2024.07.02
github/fork/alkino/atomic_shared_ptr
vng-test-data
github/fork/fgbg03/user_routes_feature
release/2024.06.02
github/fork/j13m126/german-tone
github/fork/eisams/check_date
ios/undo-for-the-bookmark-deletion
ios/restore-bookmark-by-tap-on-the-map
ios/undo-for-the-bookmark-deletion-with-restoring-by-tap-on-the-map
github/fork/beasmm/feature-#5074
github/fork/catalms/add_stop_feature
revert-7969-pastk-drape-transparent-areas
github/fork/kubahaha/boundary_marker-preset
github/fork/fitojb/patch-1
ab-drape-use-constant-base-font-height
rt-beta
github/fork/krozhdestvenski/bookmark_category_select
vng-alt-routes
github/fork/AndrewShkrob/warnings/unused-parameter
pastk-styles-shared-paths-tune-down
android-auto/8015-8019-8022
github/fork/BrianMerino/master
github/fork/gerion0/gentoo-fixes
pastk-beta-0420
pastk-2generate-paths
ab-fix-shaders-rebuild
ios/fix-drape-failure-during-test-running
ios/add-test-target-terminate
cleanup/base
github/fork/Dinisvgc/bugfix
github/fork/charlie2clarke/overground-icon
ab-max-open-file-limit
weblate-appstore-i18n
2024.03.27-3-android-hotfix
ab-3party-oauthcpp
android-hotfix-24031805
github/fork/gpesquero/test_distance
ab-android-revert-links
github/fork/RedAuburn/no-tts-info
ab-tts-simpler-strings
rt-android-huawei-crash
rt-android-release-2024.03.02
rt-android-release-2024.03.01
ab-ios-release-2024.02.27
ab-from-chars
gplay-android-auto-hotfix
ab-case-folding
rt-store-metadata
ab-buffer-vector-string-view
ab-update-gh-cache-action
rt-android-bookmark-export
osm-oauth2-support
vng-test
github/fork/gpesquero/tts_link
github/fork/Timmy-Tesseract/master
github/fork/ahmetlii/master
github/fork/sklueber/master
rt-geo-links
github/fork/AndrewShkrob/android/lanes-refactoring
vng-lines
windows3
android-auto-disable
rt-android-paranoid-mode
github/fork/TheAdventurer64/juice
rt-android-outdoor
ios-hotfix-release-dec-2023
rt-android-location-providers
pastk-outdoors-hiking-routes
pastk-2generate
pastk-classif-hiking-routes
vng-gen-kk
poc-disable-route-build-zoom
kk2
ab-thread-checker-qt-download-dialog-fix
revert-6461-category-letterbox-it
beta-outdoor
github/fork/pratyaksh1610/branch-6024
protobuf-24.4
designer-fixes
github/fork/AndrewShkrob/core/speed-limit-widget
vng-bookmarks
vng-outdoors
navigation/save-mode
pastk-TEST-rel-w-lines-stats
ab-kml-remove-unique-ptr
vng-bench
aa
rt-android-remove-workmanager
rt-android-debug
protobuf-24.3
pastk-core-housenumbers
github/fork/map-per/pedestrian
ruler-disable-reordering
android-warning-suppress
pastk-drape-bucket-discard-optimization
beta-ios-gpx-fix
github/fork/arnaudvergnet/android-structure-compose
github/fork/arnaudvergnet/compose
github/fork/Nimausfi/new-changes
github/fork/map-per/via_ferrata
pastk-generator-isolines-skip-resimplify
pastk-styles-world-railways
github/fork/kartikaysaxena/master
github/fork/Zhu-Pengming/TomABdh-patch-1
pastk-styles-TMP_dump_priorities
ab-increase-long-tap-radius
github/fork/map-per/track_number
github/fork/codeskraps/feature/nav_altitude_chart
car-checkpoint-tolerance
github/fork/barisunsalhn/fab-transparency
github/fork/N-45div/N-45div/issue4788
rt-android-fix-viewport
github/fork/n1snt/app-shortcuts
github/fork/Kovoschiz/yue4
vng-addr-test
downloader
github/fork/Aryan-Sagavekar/etaswitchfeature
obsolete-position-color
pastk-styles-geometryfallback
pastk-DEMO-geometry-1more-detailed
strings-be-ru-uk-miles
ios/external-keyboard-fix2
alex-outdoors
ios/blue-route-to
pastk-styles-fixpriorities2
pastk-styles-fixpriorities
rt-android-accent-color
pastk-drape-path_text_zoom_mask
pastk-drape-roadshields
update-appstore-metadata
pastk-styles-outdoors
3p/disable-system-jansson
ios/newly-created-list-order
czech-release
rt-fix-monkey-gh
github/fork/AndrewShkrob/core/rendering-on-many-surfaces
github/fork/SiarheiFedartsou/sf-clang-tidy2
ios/fix-tableview-headers-font
github/fork/dvrsaran/patch-1
rt-android-google-location-annoying
pastk-loc-share
ctest
windows2
kml-load-robust
tr-screenshots
vng-nav
github/fork/pastk/pastk-loc-share
github/fork/pratyaksh1610/branch-3621
d4f5409d-patch-1
rt-fix-location-resolution
github-actions-update
android_auto
matheusgomesms-store-releasenotes-pt_BRtranslation
rt-add-ci-timeout
rq-alterRoutes-vng
euskara
github/fork/trueTatar/latlon-refactoring
windows
tests-fix
pastk-styles-geometryfallback-1more-detailed
pastk-styles-zoomlessareas
github/fork/fgaz/changelog/2022.06.29-3
pastk-outdoors-beta
android/R8
github/fork/fardeenfs/public-transit
pastk-android-writability
rt-location-api
pastk-android-verifyerror
qt6
vng-my_pos
pastk-scripts
vng-sdfimage
vng-vehicle-refactoring
release-gp-fdroid-without-location-fixes
rt-android-track-recorder
rt-android-gplay-compliance
rt-android-remove-gms
rt-android-track-recorder-alarm
rt-android-keep-data
fix-odr
github/fork/pastk/pastk-storage
build/no-unity
backup-resources
android/warning-fixes
weblate-ios-i18n
rt-android-symlinks
weblate-android-i18n
weblate-whitespacing
rt-weblate-consume
ios/fixes
i18n-android
i18n-ios
rt-xcode-desktop
2025.03.02-7-android
2025.02.17-3-android
2025.01.26-9-android
2024.11.27-12-android
2024.11.12-7-android
2024.10.23-2-android
2024.10.08-5-android
2024.10.04-7-android
2024.09.08-7-android
2024.08.17-4-google-play
2024.08.16-5-android
2024.08.15-21-android
2024.08.15-17-android
2024.07.29-2-android
2024.07.27-7-ios
2024.07.27-8-android
2024.07.23-8-android
2024.07.08-3-android
2024.06.19-3-android
2024.06.02-12-android
2024.05.11-3-android-rc
2024.05.11-3-android
2024.05.10-1-ios
2024.05.04-9-android-rc
2024.05.04-9-android
2024.03.31-8-android-rc
2024.03.31-8-android
2024.03.31-3-android-rc
2024.03.27-3-android-hotfix
2024.03.27-5-android-hotfix
2024.03.18-5-android-hotfix
2024.03.05-4-android
2024.02.06-11-android
2024.02.06-8-android
2024.01.09-5-android
2023.12.20-4-android
2023.12.18-11-android
2023.12.18-10-android
2023.11.17-17-android
2023.09.22-27-android
2023.08.18-8-android
2023.07.13-10-android
2023.06.04-13-android
2023.05.08-7-android
2023.04.02-7-android
2023.03.05-5-android
2023.03.02-3-android
2023.02.13-11-android
2023.01.25-3-android
2022.12.18-12-android
2022.11.24-3-android
2022.11.02-2-android
2022.09.22-3-android
2022.09.15-5-android
2022.08.23-5-android
2022.07.27-3-android
2022.07.01-6-android
2022.06.29-3-android
2022.06.18-2-android
2022.05.31-10-android
2022.05.24-2-android
2022.05.20-5-android
2022.05.20-4-android
2022.05.19-4-android
2022.04.27-2-android
2022.03.23-4-android
2022.02.19-1-android
2022.02.16-29-android
2022.02.11-17-android
2022.01.15-3-android
2022.01.12-6-android
2022.01.12-3-android
2021.12.01-4-android
2021.11.04-2-android
2021.10.22-10-android
2021.10.15-15-android
2021.10.09-2-android
2021.10.08-0-ios
2021.09.14-4-android
2021.09.01-6-android
2021.08.26-13-ios
2021.08.26-14-android
2021.08.19-11-android
2021.08.19-6-android
2021.08.14-4-android
2021.08.09-1-ios
2021.08.07-4-ios
2021.08.05-2-android
2021.08.04-3-ios
2021.07.08-3
2021-07-03
2021.07.04-2
2021-06-23
2021-06-20
2021-06-12
2021-06-07
2021-05-21
2021-05-08
2021-05-05
2021-04-24
Labels
Clear labels
Accessibility
Address
Android
Android Auto
Android Automotive (AAOS)
API
AppGallery
AppStore
Battery and Performance
Blocker
Bookmarks and Tracks
Borders
Bug
Build
CarPlay
Classificator
Community
Core
CrashReports
Cycling
Desktop
DevEx
DevOps
dev_sandbox
Directions
Documentation
Downloader
Drape
Driving
Duplicate
Editor
Elevation
Enhancement
Epic
External Map Datasets
F-Droid
Fonts
Frequently User Reported
Fund
Generator
Good first issue
Google Play
GPS
GSoC
iCloud
Icons
iOS
Legal
Linux Desktop
Linux packaging
Linux Phone
Mac OS
Map Data
Metro
Navigation
Need Feedback
Night Mode
NLnet 2024-06-281
No Feature Parity
Opening Hours
Outdoors
POI Info
Privacy
Public Transport
Raw Idea
Refactoring
Regional
Regression
Releases
RoboTest
Route Planning
Routing
Ruler
Search
Security
Styles
Tests
Track Recording
Translations
TTS
UI
UX
Walk Navigation
Watches
Web
Wikipedia
Windows
Won't fix
World Map
No labels
Accessibility
Address
Android
Android Auto
Android Automotive (AAOS)
API
AppGallery
AppStore
Battery and Performance
Blocker
Bookmarks and Tracks
Borders
Bug
Build
CarPlay
Classificator
Community
Core
CrashReports
Cycling
Desktop
DevEx
DevOps
dev_sandbox
Directions
Documentation
Downloader
Drape
Driving
Duplicate
Editor
Elevation
Enhancement
Epic
External Map Datasets
F-Droid
Fonts
Frequently User Reported
Fund
Generator
Good first issue
Google Play
GPS
GSoC
iCloud
Icons
iOS
Legal
Linux Desktop
Linux packaging
Linux Phone
Mac OS
Map Data
Metro
Navigation
Need Feedback
Night Mode
NLnet 2024-06-281
No Feature Parity
Opening Hours
Outdoors
POI Info
Privacy
Public Transport
Raw Idea
Refactoring
Regional
Regression
Releases
RoboTest
Route Planning
Routing
Ruler
Search
Security
Styles
Tests
Track Recording
Translations
TTS
UI
UX
Walk Navigation
Watches
Web
Wikipedia
Windows
Won't fix
World Map
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps#6270
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?
Describe the issue
Commit
a22e306212
introduced a regression in which (only on FDroid builds, Google unaffected) speedometer in navigation mode flickers. See the attached video. Up: Google Play version, down: FDroid versionSteps to reproduce
Expected behavior
As of before said commit, speed is stable.
https://github.com/organicmaps/organicmaps/assets/1409116/863702ed-92c1-4b14-b889-430212af3016
Screenshots
If applicable, add screenshots or screen recordings to help explain your problem.
System information:
?
button on iOS]Additional context
This commit also breaks mock location aka fake GPS on real devices. It will jump back and forth between real and mocked location.
CC
@rtsisyk
@RicoElectrico
are you sure about the commit? It introduces string regeneration changes ) I also don't see flickering on the video...@biodranik
Oops, I meant the commit just after that one, Fixed.https://github.com/organicmaps/organicmaps/assets/1409116/45e751a8-1066-4c10-b61c-75f80fd1cb2e
Above is another video, slowed down 8x.
Below a video of position jumping back and forth when using mock location:
https://github.com/organicmaps/organicmaps/assets/1409116/d9222469-43c6-477c-bfc9-3400eb5c74c2
assigned to
@rtsisyk
Thanks! I see, the position jumps for some reason.
@rtsisyk
looks like the network provider is not filtered and not turned off when the GPS is already working.This weird behavior will continue until implement switching to GPS-only mode when GPS signal is found.
@rtsisyk
what is blocking the implementation?The answer is the same as for the remaining 1888 open issues. For this particular one, I started refactoring some time ago and even pushed some parts of it. Just takes time.
mentioned in issue #5187
mentioned in issue #6739
This will be addressed by #6845
@rtsisyk
what now since you have closed and don't want to work on #6845? I have this problem too on my Mi Mix 3 5G LineageOS 21 Android 14 and December 20 app version from f-droid. It makes the app completely unusable for any navigation so basically useless. Thankfully OSMAnd is working fine but since OM is better optimized etc. I'd really like OM to make OSMAnd not needed for my use cases.@pm4rcin
@RicoElectrico
do you have system time set manually or automatically? Can you please try if this issue reproduces with automatic network time?I have system time set to automatic.
This is a good test case for jumping location between GPS and network providers:
Android version: 14 (API 34)
Device: OnePlus KB2003 (OnePlus8T)
App version: app.organicmaps 2024.03.31-8-FDroid
mentioned in issue #8649
Another log from another user (Android 14, moto g34 5G, fdroid build of OM) with location jumps from gps to network:
@rtsisyk
would it be hard to disable the network provider if GPS provider works fine? and then activate it again if user starts pressing the location button?Another log from the same device as above is now working properly from a user's perspective. Note that the fused provider always follows GPS provider, and now has a comparable precision. Which provider is better? GPS or fused in such a case?
What about as a workaround for now use only GPS as a source in f-droid flavor until proper fix is implemented? Because it's over a year with it being broken for devices with Vanilla Android (no gapps, nor microg).