Bug 320385 - Don't disable input box when disconnected
Summary: Don't disable input box when disconnected
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 12:02 UTC by David Edmundson
Modified: 2014-05-02 14:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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