When entering an invalid contact id, using 'Start a chat' from contactlist, an error dialog is correctly shown but text-ui starts up anyway. Reproducible: Always Steps to Reproduce: 1. Enter an invalid contact-id/ screen name in the Start a chat dialog (for example a name without the trailing @gmail.com for google talk) in contactlist and click OK Actual Results: text-ui starts up showing a grey window. Expected Results: text-ui should not start up.
We made it load the window immediately before it loads the channel in order to make it appear to load faster. I don't really want to remove that. The alternate way we can fix this is to check the contact supports Text channels before invoking the channel. ktp-dial-out-ui does that I think.
Showing nothing is imho not good - you start an action and nothing is happening, but from user's pov. We could either verify the text channel capability before we delegate the action or after text-ui has been started (better I think). Then display a message box saying "Sorry, can't chat with this contact" and in case of text-ui, close it immediately after the message box has been closed.
Renaming to "check before starting a text chat" and confirming.