Bug 251902

Summary: phone dial action hangs Kontact
Product: [Applications] kaddressbook Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christopher Yeleighton 2010-09-21 10:59:01 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

Kontact hangs when the skype executable is bogus

Reproducible: Always

Steps to Reproduce:
1. 
cat > "${HOME}/bin/skype" << '#_EOF_'
#!/bin/sh
echo $*

#_EOF_

2. 
Tell KAddressBook to create a new contact from the following data:
Organisation: KDE e.V.
Work Phone: +49 30-2023 7305-0

3. 
Tell KAddressBook to call KDE e.V.

Actual Results:  
3. 
Nothing happens, except that Kontact hangs.

Expected Results:  
3. 
The command line appended to ~/.xsession-errors.

OS: Linux (x86_64) release 2.6.34.7-0.2-desktop
Compiler: gcc
Comment 1 Christopher Yeleighton 2010-09-21 11:11:42 UTC
Workaround: use an external executable.
Comment 2 Tobias Koenig 2010-10-17 15:49:32 UTC
Hej,

if you select Skype for dailing a number, then you need a working Skype installation of course. KAddressBook starts Skype and waits until its D-Bus interface is available for further communication. It will wait 200 seconds and if no D-Bus interface shows up it will show an error message.
If you want to run a custom script/application use the 'External application' entry in the config dialog. It is there for exactly this purpose.

Ciao,
Tobias
Comment 3 Christopher Yeleighton 2010-10-18 08:58:14 UTC
Then it is an UI problem in that the operator does not know that Kontact is waiting for something; it looks unresponsive and is diagnosed as such by the window manager.