Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps

    Reply
    Page 16 of 43 | Prev | 6   14     15   16   17     18   26 | Next | Last
    sony123 | # 151 | 2012-07-15, 23:52 | Report

    Originally Posted by mbanck View Post
    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.
    Excellent job, mbanck! How to you dump the structures btw??

    For the UI, actually I did modify the InfoDistance.qml so it has states to selectively display distance or TTD info. Basically just make the behaviors consistent with Symbian. I will check your code and see how to do the patching...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to sony123 For This Useful Post:
    MaddogG

     
    mbanck | # 152 | 2012-07-16, 01:40 | Report

    I did have another look at the day-to-night mode switch. The following patch at least ensures the map mode is updating everytime one returns to the map from the settings (main) menu or the preferences menu (in map browser mode). Same goes for navigation mode, and for starting/ending navigation. WIthout it, I believe one has to restart the application (or change the day/night settings specifically) to get the map changed.

    Still no update during navigation.

    Patch: http://paste.debian.net/179280/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mbanck For This Useful Post:
    MaddogG, nailwood

     
    taviman | # 153 | 2012-07-16, 04:39 | Report

    Originally Posted by praveenchand View Post
    using terminal, goto the folder containing .deb file and type dpkg -i patchfilename
    already tried this, doesn't work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    PhatApteryx | # 154 | 2012-07-16, 09:14 | Report

    Originally Posted by praveenchand View Post
    using terminal, goto the folder containing .deb file and type dpkg -i patchfilename
    Thanks, worked for me

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mbanck | # 155 | 2012-07-16, 09:35 | Report

    Originally Posted by sony123 View Post
    Excellent job, mbanck! How to you dump the structures btw??
    Something like
    Code:
    for (var member in <object>) { console.log(member); }
    This prints out the members of the object on the console if you start Drive in debug mode.

    Originally Posted by sony123 View Post
    For the UI, actually I did modify the InfoDistance.qml so it has states to selectively display distance or TTD info. Basically just make the behaviors consistent with Symbian. I will check your code and see how to do the patching...
    That would be awesome!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mbanck For This Useful Post:
    nailwood, sony123

     
    colin.stephane | # 156 | 2012-07-16, 09:44 | Report

    Originally Posted by mbanck View Post
    I did have another look at the day-to-night mode switch. The following patch at least ensures the map mode is updating everytime one returns to the map from the settings (main) menu or the preferences menu (in map browser mode). Same goes for navigation mode, and for starting/ending navigation. WIthout it, I believe one has to restart the application (or change the day/night settings specifically) to get the map changed.

    Still no update during navigation.

    Patch: http://paste.debian.net/179280/
    Hi,

    I have added this one to my full patch, in stable and unstable, since it doesn't hurt anything ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

     
    colin.stephane | # 157 | 2012-07-16, 10:18 | Report

    Originally Posted by sony123 View Post
    Excellent job, mbanck! How to you dump the structures btw??

    For the UI, actually I did modify the InfoDistance.qml so it has states to selectively display distance or TTD info. Basically just make the behaviors consistent with Symbian. I will check your code and see how to do the patching...
    May I suggest you to provide unified patch file of your modifications, then, I can include your work in my full patch ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by colin.stephane; 2012-07-16 at 10:26. Reason: Typo's ...

     
    Morpog | # 158 | 2012-07-16, 10:33 | Report

    You should have wait for Sony123s additional UI fix.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    colin.stephane | # 159 | 2012-07-16, 10:54 | Report

    Originally Posted by Morpog View Post
    You should have wait for Sony123s additional UI fix.
    This is why there is 2 different patches Stable and Unstable ...

    A++

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by colin.stephane; 2012-07-16 at 10:54. Reason: Typo's ...

     
    Morpog | # 160 | 2012-07-16, 10:59 | Report

    Nevermind, I didn't follow your link and assumed you added it to both

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 16 of 43 | Prev | 6   14     15   16   17     18   26 | Next | Last
vBulletin® Version 3.8.8
Normal Logout