Bug 214141 - Printing 'All contact from' an address book folder prints the contacts from its subfolder as well.
Summary: Printing 'All contact from' an address book folder prints the contacts from i...
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-11-11 18:33 UTC by Sabine Faure
Modified: 2009-11-14 02:48 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-11-11 18:33:11 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact and go to KAB
- Create three contacts in an address book folder (ABF1)
- Create a contact in a subfolder called (S0)
- Select ABF1 and go to File menu/Print...
- Select 'Print to File (PDF) from the 'Name:' combo box
- Click on '...' and select a location on your hard disk to save the .pdf.
- Click on 'Print'
- Select the 'All contacts from:' radio button.
- Check that the default folder is the currently selected one in KAB (=ABF1). 
- Click on 'Next' twice
- Click on 'Finish'
- Open the .pdf you've just created.

In it you can see that 4 contacts have been printed:
* the ones from ABF1
* But also the one from S0

I do not think that it makes sense that subfolders contacts are printed when selecting a folder at least by default.

Tobias, please let me know what you think.

Trunk, Svn Rev 1047503
Comment 1 Tobias Koenig 2009-11-13 13:11:46 UTC
SVN commit 1048476 by tokoe:

Allow the user to decide whether he wants to use
all contacts from a folder with or without the subfolders.

BUG: 214141


 M  +36 -9     contactselectionwidget.cpp  
 M  +2 -0      contactselectionwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1048476
Comment 2 Sabine Faure 2009-11-14 02:48:40 UTC
It is corrected now.

There is an 'Include Subfolders' check box that is activated when clicking on the 'All contacts from' radio button within the 'Print Contacts' dialogue.
It is then possible to check it to include subfolders when printing.

Trunk, Svn Rev 1048496