[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] RFC networkstatus
From:       "Jason 'vanRijn' Kasper" <vR () movingparts ! net>
Date:       2005-07-27 13:56:00
Message-ID: 200507270956.00485.vR () movingparts ! net
[Download RAW message or body]

On Wednesday 27 July 2005 09:28, Matt Douhan wrote:
[snip]
> think about the following scenarios
[snip]
> 3, User sets app offline, networkStatus reports online

I think it would make sense to do what the user asked for and set network to 
offline.  S/he might know better than networkStatus and might be marking the 
app to offline because the next thing s/he intends to do is suspend his/her 
laptop, etc.

> Here is where the fun starts, how do we handle this case?
>
> After some conversation with Will on irc, we may want to ask the user to go
> online, stay offline or stay offline until manually set to online.

I think the last one makes most sense, and follows my thought above.  In other 
words, don't prompt the user if s/he has requested to work offline, even 
though networkStatus thinks that it might not be the right thing.  As much as 
possible, I think it makes most sense to do what the user asks the system to 
do, unless the system needs to explain to the user that what s/he has asked 
the system to do is not possible (i.e. the next one below).

> The reasoning for this is that just cause your network flaps on and off you
> do not want all your network aware apps to go online and offline every 2
> minutes.

But this isn't the case with the user requesting to go offline.

> Should we have config options in the apps that allows networkStatus to
> override the user without question?

I think, that to be user-friendly, consistent, and predictable, networkStatus 
should never override the user without asking, and I think "asking" should 
only happen in the case that doing what the user asks is either not possible 
(you asked me to go online, but there is no available network connection) or 
harmful (you asked me to go offline, but I'm in the middle of sending e-mail 
right now--can you wait until after I finish, or do you want me to cancel?).

> 4, user sets app online, networkStatus reports offline

I think this matches my thoughts above.

> 5, regardless of app state, networkStatus reports unknown

I think this would be an acceptable time to tell the user that something weird 
has happened.  It would be nice also to remember having told the user this 
and allow them to check "don't tell me this again" or something.

[snip]
> rgds
>
> Matt " offline " Douhan

Heh.  =:)  HTH and doesn't just get marked as noise.  =:/


-- 

,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper ::  Numbers 6:22-26 
 `
 | All brontosauruses are thin at one end, much MUCH thicker 
 | in the middle, and then thin again at the far end.  That is 
 | the theory that I have and which is mine, and what it is too.  
 ,
| bash$ :(){ :|:&};:
`----------------------//
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic