Summary: | Incorrect signature (wrong encoding) when composer is launched from the "Print to PDF attachment" feature and the KMail main window is not opened. | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | Olivier Fisette <olivier.fisette> |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | jlayt, metrol |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Olivier Fisette
2003-10-06 21:46:54 UTC
Looks like kdeprint starts KMail in some non-standard way and should have a look at Konq? Marc: you need to reassign the bug owner too if you change the product Subject: Re: Incorrect signature (wrong encoding) when composer is launched from the "Print to PDF attachment" feature and the KMail main window is not opened. KMail is called using the following command: kmail --composer --attach file:/path/to/file.pdf (see kdelibs/kdeprint/specials.desktop) Could you tell me how to call it then? Subject: Re: Incorrect signature (wrong encoding) when composer is launched from the "Print to PDF attachment" feature and the KMail main window is not opened.
On Tuesday 07 October 2003 11:42, Michael Goffioul wrote:
> Could you tell me how to call it then?
Have a look at how Konq does it. I'd expect it to use kapp->invokeMailer
() or else call it through kmailservice...
Marc
Subject: Re: Incorrect signature (wrong encoding) when composer is launched from the "Print to PDF attachment" feature and the KMail main window is not opened. >>Could you tell me how to call it then? > > > Have a look at how Konq does it. I'd expect it to use kapp->invokeMailer() KDEPrint calls it from a script, you cannot rely on kapp. > or else call it through kmailservice... As far as I can tell from kapplication.cpp, invokeMailer() (used by kmailservice) doesn't support attachment specification (code is commented out). UNCONFIRMED (batch reassigning messed this) SVN commit 463433 by tibirna: kmailservice is to be preferred BUG:65623 M +1 -1 specials.desktop --- branches/KDE/3.5/kdelibs/kdeprint/specials.desktop #463432:463433 @@ -692,7 +692,7 @@ Require=exec:/kdeprintfax [Printer 3] -Command=ps2pdf -sPAPERSIZE=%psl %in %out && kmail --composer --attach file:%out && sleep 15 && rm -f %out +Command=ps2pdf -sPAPERSIZE=%psl %in %out && kmailservice 'mailto:?attachment=file:%out' && sleep 15 && rm -f %out Comment=Attachment for KMail Composer Comment[af]=Aanhegsel vir Kpos Saamsteller Comment[ar]=مرفقات كاتب KMail *** Bug 102703 has been marked as a duplicate of this bug. *** Closing old Resolved status bug. |