Bug 335481

Summary: KLauncher locks in start_service_by_desktop_path
Product: [Frameworks and Libraries] frameworks-kinit Reporter: David Edmundson <kde>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: normal CC: hrvoje.senjan, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 335069    

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.