Bug 214184 - .ps become .pdf when selecting a location to save to file (Printing functionality)
Summary: .ps become .pdf when selecting a location to save to file (Printing functiona...
Status: VERIFIED DUPLICATE of bug 211952
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: print-dialog (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 22:51 UTC by Sabine Faure
Modified: 2010-07-08 20:40 UTC (History)
3 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 Sabine Faure 2009-11-11 22:51:31 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact and go to KAB
- Create one contact and select it
- Go to File menu/Print...
- Select 'Print to File (Postscript)' from the 'Name:' combo box
- The 'Output file:' name is now 'addressbook.ps
- Click on the '...' button to select a location for the file to be saved
- The file name is changed to 'addressbook.pdf' automatically
- Click on 'Save' and the name remains 'addressbook.pdf' - In the 'Print Contacts' dialogue the 'Name:' combo box is now set to 'Print to File (PDF)' eventhough this is not what the user initially chose
Click on 'Print'
Click on 'Next' twice
Click on 'Finish' 

The file is saved as a .pdf whereas the user wanted a .ps.

The only way to have a .ps at the moment is to reselect this format manually:
- In the Print Contacts dialogue the 'Name:' combo box is now set to 'Print to File (PDF)' eventhough this is not what the user initially chose
- reselect 'Print to file (Postscript)'
- the path where the file should be saved remains but the file is now called and saved as 'addressbook.ps'
Click on 'Print'
Click on 'Next' twice
Click on 'Finish'
- Go to the location where the file should have been saved and you can see that it is a .ps. Open it and you can see that it contains the selected contact.

I think the extension of the file should never be changed to a .pdf.

Trunk, Svn Rev 1047503
Comment 1 Tobias Koenig 2009-11-12 20:39:31 UTC
Hej Sabine,  that's a bug in the printer dialog, not in KAddressBook, therefor I reassign it.  Ciao, Tobias
Comment 2 Christoph Feck 2009-11-13 01:34:23 UTC
Looks like a Qt bug, as the output type also changes in pure Qt applications, e.g. "dockwidgets" example. I am not sure if recent KDE<->Qt integration plays a role here, as the file dialog is the KDE one.
Comment 3 Albert Astals Cid 2009-11-13 09:48:30 UTC

*** This bug has been marked as a duplicate of bug 211952 ***
Comment 4 Sabine Faure 2010-07-08 20:40:45 UTC
It is corrected now.

When the user selects a .ps the printed file extension remains .ps as it should be.

Trunk, Svn Rev 1147490