Comment 10 for bug 1287736

Revision history for this message
Michał Sawicz (saviq) wrote : Re: [Bug 1287736] Re: System Settings -> Accounts and back shows black screen and 5s delay

On 17.03.2014 09:00, Alberto Mardegan wrote:
> On 03/14/2014 11:13 PM, Michał Sawicz wrote:
>> This is between unity8 and unity-mir, I expect, unless it's Accounts
>> that actually takes 5s to exit.
>
> It does. :-) That's the default timeout value for the daemon to exit
> when inactive, though it can be changed with the UOA_DAEMON_TIMEOUT
> environment variable.

--8<--

>> This would be solved by accounts becoming part of trusted sessions et
>> al, but regardless it should go straight away, not after 5s.
>
> We can argue whether this 5 seconds timeout makes sense, I've just been
> used to this practice (it's also used in many other daemons, for example
> in Telepathy).
> However, it's wrong to expect that the online-accounts-ui process will
> quit when you close its window in the System Settings: there might be
> another application which is talking to it at the same time, and this
> should keep the process alive.

Yeah, that's all fine, the bug that we need to fix here either way is,
then, that the application is still considered running when it removed
its only surface (did it remove it?). It should go away as soon as the
surface is gone.

--
Michał (Saviq) Sawicz <email address hidden>
Canonical Services Ltd.