osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.64k stars 1.01k forks source link

The navigation ends early on winding streets and popup overlays location #19707

Open puchu opened 5 months ago

puchu commented 5 months ago

Description

the navigation ends too early and the corresponding popup overlays the map

Steps to reproduce

set the navigation to a destination - the navigation is marked as finished although the destination is not reached

Actual result

the navigation ends too early and the corresponding popup overlays the map

Expected result

the destination is set to finished after the destination is reached and the popup doesnt overlay the map

An option - end navigation manually - would even be better to keep the navigation running even when the destination is reached in case there is a lot of traffic and the user has to drive around the block. in this mode navigation has to be stopped manually.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.7.10
Android/iOS version: 12
Device model: vayu
Crash-Logs: ?
puchu commented 5 months ago

1- 80 meters before the destination 2- 30 meters before the destination - navigation is "finished" and the overlay hides important parts of the map

yuriiurshuliak commented 5 months ago

Please provide the exact beginning and ending coordinates so that we can confirm and reproduce the issue.

puchu commented 5 months ago

An option - end navigation manually - would be nice

it happens when there are winding streets.

For example with this one. Navigation with the motorbike profile (if it matters)

start: 8.65119° S, 115.19165° E end: 8.65394° S, 115.19012° E

yuriiurshuliak commented 5 months ago

The bug has been reproduced. By simulating navigation using the provided coordinates, it's evident that the navigation terminates too early because of a convoluted and densely developed street. Additionally, the arrival notification pop-up obscures the map displaying the destination point.

OsmAnd~ 4.8.0#2223m, released: 2024-05-01

https://github.com/osmandapp/OsmAnd/assets/127092082/0a975e4a-0627-442c-ac3f-5226d6549b1a

puchu commented 5 months ago

An option - end navigation manually - would also be nice, as clicking on the pop-up, when one misses the destination or can't stop for whatever reason (and has to drive around the block), is/can be dangerous while driving.

sonora commented 5 months ago

I gues that dialog should simply move up the map accordingly so the region around one's pisition remains visible.

pebogufi commented 5 months ago

I gues that dialog should simply move up the map accordingly so the region around one's pisition remains visible.

Very good idea! In moving direction the focus is on the lower part of map, so just position the dialog to upper part. Then it won't hide important information.

puchu commented 5 months ago

but this doesn't solve the problem, that the navigation ends too early. if i have the phone i my pocket and only use the audio to navigate, it will still tell me that i reached the destination, although i didn't.

how about making the pop-up dialog/finished navigation distance to the destination configurable? and/or allow as mentioned before, to set an option called "end navigation manually" to never end the navigation automatically

mariush444 commented 5 months ago

additionally, target point/marker disapear too.