Bug 224024 - New Contact default country should be users own country not Afganistan
Summary: New Contact default country should be users own country not Afganistan
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 12:59 UTC by m.wege
Modified: 2010-02-14 10:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2010-01-24 12:59:02 UTC
Version:           4.4 rc2 (using 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-18-generic

When I create a new contact, Afghanistan is show as a standard country for new entries. Of course this is because of it's first place in the Alphabet. Surely most of the users in the world wont have most of the contacts there. I would suggest to determine the first in the list either by their locale/timezone or something else or putting recently/most used Countries separately on top of the list.
Comment 1 John Layt 2010-01-26 16:47:28 UTC
I think you mean default country? Edit title to make clearer.

Seems sensible, obvious solution is to just default to the users KLocale::global()->country() if set.  When the combo is activated could also add most common countries from the users address book at the top of the list.
Comment 2 Tobias Koenig 2010-02-14 10:25:23 UTC
SVN commit 1089853 by tokoe:

Always preselect the country for new addresses

BUG: 224024


 M  +6 -4      addresseditwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1089853