Version: unspecified (using KDE 4.6.0) OS: Linux I use kontact to manage all my PIM. Until kontact-4.4.10, I used a ServiceMenu to send files as Attachment from Dolphin. After the Upgrade to kmail2, this does not work anymore. "kmail --composer" says it is dangerous to launch kmail, when kontact is running. But I don't want to launch kmail, I just want to launch the Composer. It would be nice, if the options passed to kmail could be handled correctly again. Thx Franz Reproducible: Always
I just realised the "ksendemail"-executable, which works as expected. Could this be stated in kmail --help, too? Or better - when "kmail --compser" is executed, when kontact is running.
*** Bug 270211 has been marked as a duplicate of this bug. ***
Another problem here: When setting KMail as default mail application through Systemsettings' 'Default Components' KCM, the same problem appears, as 'kmail --composer' is called then instead of ksendemail. I think kmail itself should be able to handle this again, otherwise it would just break to many 3rd-party applications accessing it in the usual way.
sergio proposed the following fix on #kontact: diff --git a/kontact/plugins/kmail/kmail_plugin.cpp b/kontact/plugins/kmail/kmail_plugin.cpp index 1e1b750..8a289c8 100644 --- a/kontact/plugins/kmail/kmail_plugin.cpp +++ b/kontact/plugins/kmail/kmail_plugin.cpp @@ -50,7 +50,7 @@ using namespace KCalCore; EXPORT_KONTACT_PLUGIN( KMailPlugin, kmail ) KMailPlugin::KMailPlugin( KontactInterface::Core *core, const QVariantList & ) - : KontactInterface::Plugin( core, core, "kmail" ), m_instance( 0 ) + : KontactInterface::Plugin( core, core, "kmail2" ), m_instance( 0 ) { setComponentData( KontactPluginFactory::componentData() ); It works as expected for me, but should be double-checked by a KMail dev for possible sideeffect.s
*** Bug 269550 has been marked as a duplicate of this bug. ***
Same issue here. KDE SC 4.6.4 KDEPIM 4.6.0 KMail 2.1.0
Git commit 8f603f5f988a53fdd480f568c704417ea5fa7212 by Christophe Giboudeaux. Committed on 14/07/2011 at 15:16. Pushed by cgiboudeaux into branch 'master'. Change appName to kmail2. This way, clicking on a mailto link will not result in a warning if Kontact is running. BUG: 265491 M +1 -1 kontact/plugins/kmail/kmail_plugin.cpp http://commits.kde.org/kdepim/8f603f5f988a53fdd480f568c704417ea5fa7212
Git commit 63b6680243a7e32fbcf7a0f0ad41fe68960474d0 by Christophe Giboudeaux. Committed on 14/07/2011 at 15:16. Pushed by cgiboudeaux into branch '4.7'. Change appName to kmail2. This way, clicking on a mailto link will not result in a warning if Kontact is running. BUG: 265491 (cherry picked from commit 8f603f5f988a53fdd480f568c704417ea5fa7212) M +1 -1 kontact/plugins/kmail/kmail_plugin.cpp http://commits.kde.org/kdepim/63b6680243a7e32fbcf7a0f0ad41fe68960474d0
Git commit d5794e75bc437435e99d9f7d10e6a75f9730d0c6 by Christophe Giboudeaux. Committed on 14/07/2011 at 15:16. Pushed by cgiboudeaux into branch '4.6'. Change appName to kmail2. This way, clicking on a mailto link will not result in a warning if Kontact is running. BUG: 265491 (cherry picked from commit 8f603f5f988a53fdd480f568c704417ea5fa7212) M +1 -1 kontact/plugins/kmail/kmail_plugin.cpp http://commits.kde.org/kdepim/d5794e75bc437435e99d9f7d10e6a75f9730d0c6