Version: (using KDE KDE 3.1.4) Installed from: Gentoo Packages Compiler: GNU Make 3.80 OS: Linux I have KMail configured to use the content of a Unicode text file as my signature. My locale is set to use the Unicode encoding. When I start KMail and create a new message, my signature file is correctly loaded. When KMail is running and I print a file (from a KDE application) to a PDF attachment, my signature is correctly loaded in the new composer window. However, if KMail IS NOT running when I print a file to a PDF attachment, the signature gets imported as an iso 8859-1 text file (rather than Unicode), and the configuration dialog incorrectly reports that iso 8859-1 is my locale. (When the composer is run from the main KMail window or from a link in an HTML page (wheter or not KMail is running), it correctly reports Unicode as my locale).
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.