osmandapp / OsmAnd-iOS

OsmAnd for iOS
Other
270 stars 90 forks source link

Route Recalculation Error After Deviation #3730

Open ToontjeM opened 1 month ago

ToontjeM commented 1 month ago

Description

When navigating a route following a track, when you move away from the track, on CarPlay a dialog appears that the calculated route is empty with an Ok button. This Ok button cannot be tapped. The only way to get this dialog from the screen is to switch to another application and then switch back to OsmAnd.

Steps to reproduce

Navigate a route following a track using CarPlay. Move away from the track, for example because you missed an exit. The dialog pops up. Tap the Ok button.

Actual result

Dialog doesn’t close.

Expected result

Dialog closes.

Your Environment (required)

OsmAnd Version: 4.7.6.2
iOS version: 17.4.1 
Device model: iPhone 14 Pro Max
Crash-Logs: Nothing crashes. 
yuriiurshuliak commented 1 week ago

The bug was not reproduced. When I attempted to reproduce it on the iPhone, I deviated from the calculated route, and a dialog window appeared stating "calculated route is empty" with an "OK" button.

I was able to click the "OK" button, and the dialog closed successfully.

OsmAnd 4.7.6.3

https://github.com/osmandapp/OsmAnd-iOS/assets/127092082/6317ab74-f9b5-4183-b6f4-daa34f59e374

ToontjeM commented 1 week ago

Probably that works on the iPhone, but not on CarPlay.

DmitryAlexei commented 1 week ago

The issue is not in the dialogue itself, the bug is in the fact that "calculated route is empty".

ToontjeM commented 1 week ago

So we two issues then:

yuriiurshuliak commented 1 week ago

To reproduce the issue, follow these steps:

Related to #3679