aerostitch / testnavit

0 stars 0 forks source link

Default country selected in town search should be dynamic #136

Open aerostitch opened 12 years ago

aerostitch commented 12 years ago

Issue migrated from trac ticket # 999

component: core | priority: major | keywords: map, i18n, ui

2012-01-16 14:29:23: ciprian.alexan@yahoo.com created the issue


  • Navit version: navit-svn-4879
  • Device: Samsung Galaxy Tab P1000
  • OS: Android 2.2
  • latest map from planet extractor

Go to Menu -> Actions -> Town

Default country selected is static: US. This should be improved. Default country selected here should be the country where the the vehicle is currently positioned. Or when the position is not available, we should use the country from the last known vehicle position.

Ciprian Alexan.

aerostitch commented 12 years ago

2012-01-17 04:03:10: korrosa commented


For extra info: note that the default country is set using the locale of your device - it does not simply default to the US. To force a different country without changing the locale of your device, use the language attribute in the config tag within navit.xml, as described at http://wiki.navit-project.org/index.php/Configuring_Navit/Full_list_of_options.

I agree though that it would be a cool feature to set the default country using the vehicle position. As long as it doesn't change the language of the Navit menus though!

aerostitch commented 12 years ago

2012-01-21 11:55:06: @sleske commented


There was a long discussion about this in #439. There, some people pointed out that you do not necessarily want the country where you currently are, as you might be using Navit to plan a trip somewhere else.

An alternate solution would be for the search dialog to remember the last country setting - usually you keep using the same country (either the one where you are, or the one where you are planning a trip).

Maybe I'll work on this at some point...

aerostitch commented 11 years ago

2013-07-13 00:02:04: usul

aerostitch commented 11 years ago

2013-07-13 00:02:04: usul commented


Another aspect would be to preselect the current locale. Because in most cases, you search for places in your mother language.

Anyway, I saw people very often to be confused that they need to do the (right) selection here to get results. As this creates a lot of support for a very basic function, this has to be fixed ASAP -> scheduled to hotfix.

aerostitch commented 11 years ago

2013-07-13 13:30:16: @sleske commented


"scheduled to hotfix" is easier said than done :-). The problem is that it's not clear how to solve this.

I see two issues here:

  1. the default country selection should be reasonable
  2. it should be obvious how to change country if the default is not right

At the moment, both points are problematic.

The default is based on the locale, which is not necessarily what you want. At the moment, I think the best solution is to just remember the last selection. That is what will work in most cases (as few people navigate to a different country each time). The locale default can remain for the first start of Navit, when there's no previous selection.

The other problem is that apparently it's not obvious how to change country. The flag icon looks like an indicator; it's not obvious that it can be clicked. We should think about a better GUI here. That is probably a separate ticket...

aerostitch commented 6 years ago

2017-12-02 04:08:44: @jkoan

aerostitch commented 6 years ago

2017-12-02 04:08:44: @jkoan commented


This ticket was pushed back in order to bring 0.5.1 out soon.