Bug 207015 - Incorrect alphabetical order when printing
Summary: Incorrect alphabetical order when printing
Status: CLOSED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 00:30 UTC by Sabine Faure
Modified: 2009-10-01 18:01 UTC (History)
1 user (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 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