Bug 207015

Summary: Incorrect alphabetical order when printing
Product: [Applications] kaddressbook Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2009-09-11 00:30:44 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Configure Akonadi with an IMAP and Kolab resource.
- Launch Kaddressbook
- Create a few contacts in an Address Book:
*One starting with T and  another one with t
* An imported .csv file (Smith, John)
- Select everything
- Go to File menu/Print...
- Select 'Print to File (PDF)'
- Choose a name and a location for the .PDF file
- Click on 'Print'
- Check the 'Selected contacts' QToolButton
- Click on 'Next'
- Select 'Formatted Name' and 'Ascending'
- Click on 'Next'
- Click on 'Finish'

Open the .pdf file you have just created.
In it, the alphabetical order is case sensitive whereas it should not.
Also an imported .csv appear with the the following format Surname, Name in an address book so it is not sorted properly.

Trunk, Svn Rev 1021831
Comment 1 Tobias Koenig 2009-09-15 13:50:57 UTC
Hej Sabine,

I can't see how lowercase/uppercase should be sorted incorrectly...
The following contacts

  Kay Morgan
  Leo Northern
  kay hacker
  Joe Cool

will be sorted like the following for field=Given Name and
order=Ascending:

  Joe Cool
  kay hacker
  Kay Morgan
  Leo Northern

so lowercase names are put in front of the uppercase names
with the same letter.

Ciao,
Tobias
Comment 2 Sabine Faure 2009-10-01 18:00:49 UTC
What confused me is that contacts get sorted by name and not by surname.
But it seems to work now so I am closing this bug.

Trunk, Svn Rev 1030016