Bug 206299 - Printing Contacts from a whole Address Books can be improved.
Summary: Printing Contacts from a whole Address Books can be improved.
Status: VERIFIED 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-04 23:34 UTC by Sabine Faure
Modified: 2009-09-16 19:53 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-04 23:34:13 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 couple of Contacts in an Address Book (ex: AB 1)
- Try to select AB 1

It is not possible at the moment to select and print a whole Address Book.

The only way to do this is to select every single Contact from and Address Book and go to File menu/Print and choose 'Selected contacts' in the printing assistant.

Trunk, Svn Rev 1019588
Comment 1 Tobias Koenig 2009-09-09 16:20:55 UTC
SVN commit 1021561 by tokoe:

Allow to select all contacts from a given address book
or address book folder.

BUG: 206299


 M  +1 -0      CMakeLists.txt  
 M  +7 -3      contactselectiondialog.cpp  
 M  +3 -1      contactselectiondialog.h  
 M  +31 -3     contactselectionwidget.cpp  
 M  +5 -0      contactselectionwidget.h  
 A             recursiveitemfetchjob.cpp   [License: LGPL (v2+)]
 A             recursiveitemfetchjob.h   [License: LGPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1021561
Comment 2 Sabine Faure 2009-09-10 23:57:01 UTC
I retested this and it still does not seem to work.
Here are the steps:
- Configure Akonadi with an IMAP and Kolab resource.
- Launch Kaddressbook
- Create a couple of Contacts in an Address Book (ex: Contacts)
- Select the 'Contacts' folder
- Go to File menu/Print...
- choose a location and a name for the .pdf file
- Click on 'Print'
- Select 'All contacts from:' and 'Contacts'
- click on 'Next' twice and then on 'Finish'

Try to open the .pdf file you have created. It is impossible to find. It seems that it has not been created.

Also there is no point in selecting the folder whose contacts you wish to print since you have to select the folder again in the printing assistant (all contacts from:'

Trunk, Svn Rev 1021831
Comment 3 Tobias Koenig 2009-09-15 13:43:53 UTC
SVN commit 1023844 by tokoe:

Don't mix async and sync API...

BUG: 206299


 M  +1 -20     contactselectiondialog.cpp  
 M  +0 -7      contactselectiondialog.h  
 M  +18 -24    contactselectionwidget.cpp  
 M  +5 -16     contactselectionwidget.h  
 M  +1 -9      printing/printingwizard.cpp  
 M  +0 -3      printing/printingwizard.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023844
Comment 4 Sabine Faure 2009-09-16 19:53:34 UTC
It is corrected now.

You can print all the Contacts from an address book just by selecting it.

The selected address book appears automatically in the printing assistant when selecting the 'All contacts from: addressbook name' radio button.

Nice touch ! Thx Tobias ;o)

Trunk, Svn Rev 1024362