|
2012-07-15
, 17:29
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#142
|
|
2012-07-15
, 17:46
|
Posts: 78 |
Thanked: 135 times |
Joined on Jul 2012
|
#143
|
The Following 9 Users Say Thank You to mbanck For This Useful Post: | ||
|
2012-07-15
, 18:30
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#144
|
This is work-in-progress
I now have a first patch for time-to-destination, it is here: http://paste.debian.net/download/179219
It is showing the time-to-destination (only in guidance mode), but the value is not updating unless the route gets recalculated, so it is rather useless right now.
What I did was overloading the distance field in the dashboard and additionally displaying the time-to-target as well. I enlarged the size of that widget in portrait mode a bit (landscape should be fine) and hope the speed widget does not get cropped if e.g. a speed limit is displayed and one drives in the three-digit range.
The Following User Says Thank You to colin.stephane For This Useful Post: | ||
|
2012-07-15
, 18:47
|
|
Posts: 144 |
Thanked: 36 times |
Joined on Jan 2010
@ New Zealand
|
#145
|
|
2012-07-15
, 18:54
|
Posts: 78 |
Thanked: 135 times |
Joined on Jul 2012
|
#146
|
Great work,
I have updated my full patch to reflect your changes ...
The Following 3 Users Say Thank You to mbanck For This Useful Post: | ||
|
2012-07-15
, 18:59
|
Posts: 440 |
Thanked: 203 times |
Joined on May 2010
|
#147
|
i got that error too, no opportunity to try again or find why yet though.
The Following User Says Thank You to praveenchand For This Useful Post: | ||
|
2012-07-15
, 19:25
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#148
|
Well, my changes are not optional, and as I wrote, are not working correctly, so I would advise against putting them into your patch for now.
The Following 2 Users Say Thank You to colin.stephane For This Useful Post: | ||
|
2012-07-15
, 20:13
|
Posts: 78 |
Thanked: 135 times |
Joined on Jul 2012
|
#149
|
|
2012-07-15
, 21:03
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#150
|
Hah, so I dumped the routingModel and guidanceModel structures, and it turns out that guidanceModel apparently has a member which appears to be exactly what we want and gets updated when DestinationDistance changes, namels timeToArrival (we did not find it earlier because it is not referenced in the QML source).
New patch (supersedes the other one): http://paste.debian.net/download/179234
With this patch the duration value updates, however, it is raining outside so I have not tested whether it really works correctly, feedback welcome. It could well be that timeToArrival is broken somewhat and therefore was not exposed in the user interface before.
The user interface has not changed (see last screenshot), I think it would be more elegant to make the distance/duration widget be a button which would switch between the two, but I won't have any more time to work on this, hopefully somebody else can pick it up.
(Yes, I allowed the installations outside the Store).