<br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 8:52 PM, Vishesh Handa <span dir="ltr"><<a href="mailto:me@vhanda.in" target="_blank">me@vhanda.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 22, 2013 at 2:11 AM, Martin Klapetek <span dir="ltr"><<a href="mailto:martin.klapetek@gmail.com" target="_blank">martin.klapetek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Thu, Feb 21, 2013 at 7:23 PM, David Edmundson <span dir="ltr"><<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>></span> wrote:<br></div><div class="gmail_quote">
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

As Martin posted a review recently I remembered I forgot to send a summary of a discussion we had at FOSDEM.<div><br></div><div>Right now our notifications suck. Most the time they appear they're just annoying rather than informative.</div>




<div>We had a talk and decided to work out what we actually wanted to happen rather than just randomly hacking with no direction. We outlined a list of situations where accounts can't connect/fail to connect which covers pretty much all the categories and talked through what should happen in each case.</div>




<div><br></div><div><div>Terminology used below:</div><div>  not connected to network = network manager knows if you're offline</div><div>  not connected to internet = network manager thinks you're online, but really you're not for whatever reason.</div>




<div>(this isn't quite accurate, but it'll do for the purposes of describing)</div><div><br></div><div>When trying to connect:</div><div><br></div><div> - Computer not connected to network</div><div>    Don't even allow to go online. Block it in the UI and show that we are offline.</div>




<div>    Supress any errors</div><div><br></div><div> - Computer not connected to internet / host is down</div><div>    1 notification for all errors.</div></div></blockquote><div><br></div></div><div>...is it going to reconnect? Or just show error and stay offline?</div>

<div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div> - Hostname is wrong</div><div>    notify... (same as above)</div>
<div><br></div><div> - Username/Password/Certifcate wrong</div><div>    Prompt for password/certificate</div><div>    Keep prompting until user hits cancel</div><div>    No notification if you hit cancel</div><div><br></div>




<div>Suddenly disconnected:</div><div> - Computer no longer connected to the network</div><div>    Do Nothing</div><div><br></div><div> - Computer no longer connected to internet / host breaks</div><div>    Try reconnecting...and then... ???</div>



</div></blockquote><div><br></div></div><div>I'd say show notification "we tried to reconnect 3 times, but no luck, staying offline, sorry".</div></div></blockquote></div></div><div><br>I'm not completely sure I understand this, but if this is the same case as I'm connected to the network but not the internet. Then how about instead of trying 3 times, you try after an increasing time limit.<br>

<br>Initially maybe after 10 seconds? 30 seconds, a minute? 5 minutes? Also, more importantly, you show the user that you are now disconnected and you'll be trying to connect again in <x> amount of time, AND allow the user to say "Connect </div>
</div></blockquote><div><br></div><div>I agree the reconnecting at the exponentially increasing intervals makes sense, but having 3 notifications per account in the first 100 seconds isn't an improvement.</div><div> </div>
<div>We can do that reconnecting as you said but still just show one notification after the first n reconnect attempts, as Martin suggests. Then if you do connect eventually, great. </div><div><br></div><div>This does mean every now and again (seemingly randomly) the spinner will start spinning without too much explanation. Though hopefully this case won't come up too often.</div>
<div>Reselecting "online" from the UI will restart the whole process.</div><div><br></div><div>I think we should try and sketch this out in pseudocode on the ML first.</div><div><br></div><div>Dave</div><div><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>
<br>This is essentially, what the google talk plugin for gmail does. I think it's quite sensible.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div></div><span class="HOEnZb"><font color="#888888">-- <br>
<span style="color:rgb(192,192,192)">Vishesh Handa</span><br>
</font></span><br>_______________________________________________<br>
KDE-Telepathy mailing list<br>
<a href="mailto:KDE-Telepathy@kde.org">KDE-Telepathy@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-telepathy" target="_blank">https://mail.kde.org/mailman/listinfo/kde-telepathy</a><br>
<br></blockquote></div><br>