ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #06679
Re: Unity8 & Mir update Feb 27, 2014
-
To:
Ubuntu Touch <ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
-
From:
Alberto Mardegan <alberto.mardegan@xxxxxxxxxxxxx>
-
Date:
Fri, 28 Feb 2014 12:19:41 +0200
-
In-reply-to:
<CACL8x6H=FYuSf-d61W72J8QMMUMG-6g8KB=OGbXM-JrJVZznqw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
On 02/28/2014 11:37 AM, Thomas Voß wrote:
> On Fri, Feb 28, 2014 at 9:48 AM, Alberto Mardegan
> <alberto.mardegan@xxxxxxxxxxxxx> wrote:
>>
>> I hope to be proved wrong, but I've the feeling that this can be racy:
>> we need to make sure that the trusted helper manages to start the
>> trusted session before the participating apps have shown their windows,
>> or you won't be able to see the correct transitions.
>
> Why not? The designs explicitly take into account the case when an app
> is already running.
I'm thinking of the case where the application is *not* running. In a
typical session you have:
App1 -> TrustedHelper -> App2
Initially, only App1 is running. When it invokes the trusted helper, the
trusted helper will create the trusted session and add itself and App1
into it, and then start the session. So far, so good.
The problem comes when App2 needs to be started: App2 needs to be added
to the trusted session after it's started (if my understanding of the
API is correct, an application is added by its PID), but before it gets
a chance to show its window. How can we achieve this?
Ciao,
Alberto
Follow ups
References
-
Unity8 & Mir update Feb 27, 2014
From: Kevin Gunn, 2014-02-27
-
Re: Unity8 & Mir update Feb 27, 2014
From: Alberto Mardegan, 2014-02-28
-
Re: Unity8 & Mir update Feb 27, 2014
From: Thomas Voß, 2014-02-28
-
Re: Unity8 & Mir update Feb 27, 2014
From: Alberto Mardegan, 2014-02-28
-
Re: Unity8 & Mir update Feb 27, 2014
From: Thomas Voß, 2014-02-28