Bug 335481 - KLauncher locks in start_service_by_desktop_path
Summary: KLauncher locks in start_service_by_desktop_path
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kinit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks: 335069
  Show dependency treegraph
 
Reported: 2014-05-28 15:34 UTC by David Edmundson
Modified: 2014-05-29 13:08 UTC (History)
2 users (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 David Edmundson 2014-05-28 15:34:31 UTC
It can be reproduced with.

dbus-send --print-reply --dest=org.kde.klauncher5 /KLauncher org.kde.KLauncher.start_service_by_desktop_path string:"/opt/kde5/share/applications/kinfocenter.desktop" array:string: array:string: string:"" boolean:false

(the call we make from dbus)

we should see a response immediately or at least when kinfocenter loads.
Instead everything blocks until dbus timeout occurs.
Comment 1 David Edmundson 2014-05-29 13:08:09 UTC
It turns out the application was at fault. The .desktop file was marked as DBus unique, but it was ported away from KApplication which registered the dbus path. 

kdeinit was waiting for it to register the dbus name.