Bug 320385

Summary: Don't disable input box when disconnected
Product: [Frameworks and Libraries] telepathy Reporter: David Edmundson <kde>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Edmundson 2013-05-28 12:02:40 UTC
Chat with Thomas Pfeiffer.

In that case I would not recommend disabling text input 
It's not like anything you type get's sent immediately, is it? 
We could allow typing but prevent sending 
The scenario is this: I'm in a conversation with someone, but I have an unstable internet connection 
If input remains enabled, I can write my message and send it when I get back online 
Not prevent hitting enter, but display a warning that the message cannot be sent at the moment because you're not connected 
And keep the text in the input box
Comment 1 Ahmed Ibrahim 2014-05-02 14:41:25 UTC
Git commit 0b9898013d18bc4c742c0dbdb89c6aee9c2948b3 by Ahmed I. Khalil.
Committed on 02/05/2014 at 14:37.
Pushed by ibrahim into branch 'master'.

Don't disable input box when disconnected.

Instead show a KMessageWidget that will tell the user that the account is offline.

REVIEW: 117809

M  +39   -9    lib/chat-widget.cpp
M  +2    -1    lib/chat-widget.h
M  +16   -0    lib/chat-widget.ui

http://commits.kde.org/telepathy-text-ui/0b9898013d18bc4c742c0dbdb89c6aee9c2948b3