List Info

Thread: Auto-login after standby




Auto-login after standby
user name
2006-08-01 12:10:43
On Aug 24, 2005, at 3:22 AM, Remko Troncon
remko-at-psi-im.org |psi/ 
personal| wrote:

> Well, technically, you are at your computer when you
turn it off, and
> at your computer when you turn it on  But you
have a point.
>
> Anyway, the per-account option 'auto-connect' can be
enough, but  
> personally,
> i want a global 'Restore presence when coming from
sleep' option,  
> such that
> i kan keep auto-connect turned off. Anyone opposed ?
>
> cheers,
> Remko

Could we revisit this discussion for a minute? I've been
playing  
around with the nightlies, and I think the
on-resume-from-suspend  
behavior is a little backwards.

I have an account (two, actually) that have
"automatically reconnect  
if disconnected" set, and "automatically connect
on startup" _not_  
set. If I _manually_ go offline and then suspend my
Powerbook (i.e.  
I'm disconnected when it goes to sleep), when I wake from
sleep, Psi  
is reconnecting by itself. I think that the resume code
should be  
observing the connect-on-startup setting, and it appears to
be  
looking at the reconnect-if-disconnected setting instead. Or
 
something. <g> I'll have a look at the source at
lunchtime to be sure  
(I'm at work atm), but any insight in the meantime would be
welcome...

  - Brian

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Auto-login after standby
user name
2006-08-01 12:16:26
> is reconnecting by itself. I think that the resume code
should be  
> observing the connect-on-startup setting, and it
appears to be  
> looking at the reconnect-if-disconnected setting
instead.

The reconnect-if-disconnected is definitely not the right
one, i know.
I was planning on removing it again. I'm not sure if
connect-on-startup is
the right replacement, though. I think the only right thing
to do is 
remember the state before going offline, and restoring it.
Any thoughts ?

cheers,
Remko
_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Auto-login after standby
user name
2006-08-01 12:45:01
Selon Remko Troncon <remkoel-tramo.be>:

> > is reconnecting by itself. I think that the resume
code should be
> > observing the connect-on-startup setting, and it
appears to be
> > looking at the reconnect-if-disconnected setting
instead.
>
> The reconnect-if-disconnected is definitely not the
right one, i know.
> I was planning on removing it again. I'm not sure if
connect-on-startup is
> the right replacement, though. I think the only right
thing to do is
> remember the state before going offline, and restoring
it. Any thoughts ?
>
> cheers,
> Remko
Disconnected because of shutdown or suspend-to-disk is not a
real case of
"disconnect" as said in "reconnect if
disconnected" option for me.
So the "reconnect" action must not to be
triggerd uppon this option but rather
on the option "connect on startup" or a new
option "reconnect after resume". In
either choice, the correct status should be restored.
What do you think about this behaviour ?
_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Auto-login after standby
user name
2006-08-01 12:59:10
> either choice, the correct status should be restored.
> What do you think about this behaviour ?

That seems to be what the original poster said, with the
addition of the
status remembering. We can't remember the status in 0.11
yet, so we will
either reconnect accounts that have 'connect on startup'
checked, or
no reconnection at all until there is decent status
remembering.

cheers,
Remko
_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Auto-login after standby
user name
2006-08-01 13:56:50
On 8/1/06, Remko Troncon <remkoel-tramo.be> wrote:
> I think the only right thing to do is
> remember the state before going offline, and restoring
it. Any thoughts ?

What about giving the user three options: 'Always
Reconnect',
'Reconnect if Psi was connected before suspend', 'Never
Reconnect'.
(Remembering that currently we can't do the middle option)

-- 
- Norman Rasmussen
 - Email: normanrasmussen.co.za
 - Home page: http://norman.rasmusse
n.co.za/
_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Auto-login after standby
user name
2006-08-01 14:19:07
On Aug 1, 2006, at 8:59 AM, Remko Troncon
remko-at-el-tramo.be |psi/ 
personal| wrote:

>> either choice, the correct status should be
restored.
>> What do you think about this behaviour ?
>
> That seems to be what the original poster said, with
the addition  
> of the
> status remembering. We can't remember the status in
0.11 yet, so we  
> will
> either reconnect accounts that have 'connect on
startup' checked, or
> no reconnection at all until there is decent status
remembering.

That's the behavior I'd like to see.

  - Brian

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )