Disabling presence control when no network is available
Weng Xuetian
wengxt at gmail.com
Mon Dec 10 18:52:50 UTC 2012
On Mon, Dec 10, 2012 at 5:04 AM, Dan Vrátil <dvratil at redhat.com> wrote:
> On Sunday 09 of December 2012 19:01:38 Martin Klapetek wrote:
> > Hey all,
> >
> > me and David brainstormed the presence handling a bit and we came up with
> > the idea of disabling the presence controls when you have no network.
> This
> > way we can supress all errors when there is no network and prevent
> > situations when Tp gets stucked in a connecting state even if you have no
> > network. I did small testing patch and here is how the contact list would
> > look if you have no network:
> > http://dl.dropbox.com/u/6761102/presence_offline.png
> >
> > It watches Solid::Networking states and changes whenever Solid signals
> > network un/availability.
> >
> > The presence plasmoid would be changed in a similar way - presence
> actions
> > would be replaced with "No network connection" and some actions disabled
> > accordingly ("Join chat room" etc).
> >
> > What do you think?
>
> Looks awesome!
>
> Is there a way to override the "No Network" status in case NetworkManager
> goes
> nuts?
>
> Dan
>
> Yeah I also concern about this. There ARE some case if a network
environment only have "lo", but it use some other way to built a proxy with
only "lo" interface.
For example,
Android phone, setup a proxy on the phone and redirect by adb (I know this
is a VERY rare case... but I have use it several times, don't argue why I
use this werid setup.. this is only for an example).
So warn user about no network is good, but in some case it's still useful
make user can force the connection. Even proxy is not supported right now..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20121210/0e4b9fe3/attachment.html>
More information about the KDE-Telepathy
mailing list