Version: 1.12.1 (using Devel) OS: Linux Installed from: Compiled sources After upgrading to KMail 1.12.1 (KDE 4.3.1) I can't use an external editor anymore. Example: "kwrite %f" produces an error message (as if it has been executed on the shell like this: kwrite '')
I just checked with my 4.3.1 setup (openSuse), and it works here.
*** Bug 209194 has been marked as a duplicate of this bug. ***
I can confirm this problem, see bug 209194. I marked the latter as a duplicate of this one. Please reopen this bug.
I can still not reproduce with kmail 1.12.2 openSuse 11.1. What does external-editor define in your kmailrc ?
There are two entries in kmailrc: 1. external-editor=/usr/bin/urxvt -geometry 80x50+350+100 -e emacs %f\n 2. use-external-editor=true (It's just entry number 2 when I use 'kwrite %f' as external editor setting.) That looks good in my opinion. The applications get correctly executed but %f seems to be an empty string.
I also get console output everytime I try to use the external editor: QFSFileEngine::open: No file name specified
If you simply do not define %f in the external editor command, kmail will append the temp-filename to the commandline arguments. Can you try if that works for you, please ? Also, which Qt version are you using and which disto ?
Without the %f there's no difference at all. My Qt version is 4.5.1, distribution is Gentoo.
Could you try with Qt4.5.2, please ? I really see no problem in kmail's code.
What is the recommended procedure for upgrading from Qt 4.5.1 to 4.5.2 on Gentoo? Simply modifying the "keywords" to allow for installing the currently unstable 4.5.2 is not sufficient, as the 4.5.2 packages are blocked by the 4.5.1 packages that are currently installed. Is it safe to uninstall the 4.5.1 packages and then install the 4.5.2 ones?
Now I tried KMail from KDE 4.3.2 with Qt 4.5.2. (On Gentoo there was no other way than uninstalling 4.5.1 before.) The problem does no longer occur.
Great. Thanks for your feedback.