Bug 146397

Summary: function Mail PDF file is not network transparent
Product: [Applications] kdeprint Reporter: Ferdinand Gassauer <gassauer>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED FIXED    
Severity: normal CC: jlayt, mcguire
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ferdinand Gassauer 2007-06-05 15:01:47 UTC
Version:           1.9.7 (using KDE 3.5.7 "release 10.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.8-0.3-default

Hi!

To reproduce

Open a file from sftp://server/directory/filename. (I used Kivio)

Print - "Send/Mail as PDF file" tries to write to /directory/filename which usually does not exists.

As the PDF (and PS) files are temporary files, they should go into /tmp/kde-<username>/filename.pdf or similar and should be eventually removed.
Comment 1 Thomas McGuire 2007-06-05 22:00:29 UTC
Are you really talking about KMail here?
Where do I find Print->Send/Mail as PDF file ?
This seems to be either a bug in the print subsystem, the sftp KIO slave or the application you are using.

Comment 2 Ferdinand Gassauer 2007-06-05 22:04:47 UTC
Are you really talking about KMail here?
No! 
But as I can "Print to File PDF" without problems I think its the process which attaches the pdf as attachment
Comment 3 Thomas McGuire 2007-06-07 18:00:57 UTC
I'll reassign to kdeprint, I guess this is not a KMail problem.
Comment 4 Cristian Tibirna 2007-06-08 03:37:22 UTC
I can't reproduce. You need to give more details. I tried to print from kate a file opened through fish:/ and it works.

In fact, the temporary pdf file that kprinter creates is configurable (manually, at print time, by the user) and is by default $HOME/print.pdf

Please, come back with a precise error description.
Comment 5 Ferdinand Gassauer 2007-06-10 21:49:03 UTC
Sure I can change the destination of print.pdf manually. 

Now I tried some other applications
* opening a *.odt with kword - same problem
* opening a *.csv with kwrite - it works as mentionend in http://bugs.kde.org/show_bug.cgi?id=146397#c4

IMHO it looks like some apps have some sort of memory or handle this cyas differently.
Comment 6 Ferdinand Gassauer 2007-06-11 07:23:12 UTC
could it be that koffice does something different?
Comment 7 John Layt 2011-05-27 18:33:38 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.