Bug 250294 - klauncher shows error during kmail migration
Summary: klauncher shows error during kmail migration
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 18:28 UTC by George Kiagiadakis
Modified: 2010-12-14 18:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George Kiagiadakis 2010-09-05 18:28:13 UTC
Version:           unspecified (using Devel) 
OS:                Linux

This is with:
kde: 4.5.1
kdepim: 4.4.93
(bugzilla doesn't yet have those versions on the list)

When kmail2 is launched for the first time from krunner, the migration tool appears and blocks kmail in the background. This causes KLauncher to show an error dialog "Could not launch kmail. It probably crashed" or something like that (I don't remember the exact wording). This probably happens because kmail is blocked before it sends the appropriate dbus signal back to klauncher to inform it that it has started successfully.

Reproducible: Didn't try



Expected Results:  
No error dialog should appear.
Comment 1 George Kiagiadakis 2010-09-05 20:51:09 UTC
Actually, I made a mistake. This error always appears. The fix is trivial:

--- a/kmail/KMail.desktop
+++ b/kmail/KMail.desktop
@@ -138,6 +138,6 @@
 Terminal=false
 X-KDE-StartupNotify=true
 X-DBUS-StartupType=Unique
-X-DBUS-ServiceName=org.kde.kmail
+X-DBUS-ServiceName=org.kde.kmail2
 X-KDE-ServiceTypes=DBUS/Mailer
 Categories=Qt;KDE;Network;Email;
Comment 2 Laurent Montel 2010-12-14 18:21:19 UTC
kmail is register as org.kde.kmail and org.kde.kmail2
=> I can close this bug report