Ticket #1002 (closed defect/bug: fixed)
Initial state of route.route_status confusion
| Reported by: | wkcooper | Owned by: | Cp15 |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | gui/internal | Version: | 0.0.4 |
| Keywords: | Cc: |
Description
Short description: on Navit startup with no destination defined route.route_status should be 0
Long description: From the documentation http://wiki.navit-project.org/index.php/OSD#Other_attributes it would appear that on startup and no route or destination defined navit should set route.route_status to 0. However on startup navit sets it to 2. Either the documentation needs to be updated as to what is returned by Navit during the phases or the route.route_status function needs to be updated to return 0.
Tested on both navit for android and Linux
Change History
comment:2 follow-up: ↓ 3 Changed 4 months ago by http://wiki.navit-project.org/index.php/user:korrosa
I'm sure this isn't the case, but just checking: when you quit Navit, is a route still active? If so, the next time Navit starts up it will re-route to the same destination.
There was a bug introduced a couple of commits back which screwed this feature up, but it got fixed. It'd also be good to know what version of Navit you're using (i.e. where you got it from? SVN? Package maintainer? Market?)
comment:3 in reply to: ↑ 2 Changed 4 months ago by wkcooper
You are correct, it was an older SVN build from late last year. On updating and recompiling the results are what the documentation said. On the most recent Android version I have (4892 from SVN download) problem is also resolved.
Thanks for the attention.
Replying to http://wiki.navit-project.org/index.php/user:korrosa:
I'm sure this isn't the case, but just checking: when you quit Navit, is a route still active? If so, the next time Navit starts up it will re-route to the same destination.
There was a bug introduced a couple of commits back which screwed this feature up, but it got fixed. It'd also be good to know what version of Navit you're using (i.e. where you got it from? SVN? Package maintainer? Market?)

Mistake made in original report, initial route_status = 1, indicating a destination is set.