Disabling presence control when no network is available

Alexhs Tsitsimpis alexhs.tsi at gmail.com
Mon Dec 10 03:14:24 UTC 2012


On Monday, December 10, 2012 05:01:38 AM 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?

I think this is great! Pretty clear to the user as to what the problem is, and 
no errors. Good job!


More information about the KDE-Telepathy mailing list