Ah, good point, we should also put with this permission access to the
Mir socket that Unity8 creates. I'll figure out how to do that and
update the PR.
Is there anything else you'd like to see in the PR?
Ted
On Fri, 2016-05-27 at 16:06 -0300, Gustavo Niemeyer wrote:
> 
> The interface you proposed didn't add any special abilities for the
> snap to listen to additional events from the system.
> 
> Isn't that about the unity8 interface itself?
> 
> 
> On Fri, May 27, 2016 at 2:48 PM, Ted Gould <[email protected]> wrote:
> > 
> > In a nutshell, it is listening to a set commands that are sent via
> > the Mir connection from QtMir/Unity8 which correspond with the
> > different states that an application is put in. As an example, it
> > is told when it is about to be suspended so that the application
> > can save data in memory to disk. For QML/Qt apps this is
> > implemented in the QPA plugin. Applications that do not speak this
> > protocol could lose user data if they were killed by Unity8 and
> > didn't realize they needed to use their chance to save.
> > 
> > Ted
> > 
> > On Fri, 2016-05-27 at 14:40 -0300, Gustavo Niemeyer wrote:
> > > Can we please go into more detail about what it means to support
> > > the application lifecycle?
> > > 
> > > Having an interface that does absolutely nothing feels somewhat
> > > awkward, which may hint that there are better designs for it.
> > > 
> > > On Fri, May 27, 2016 at 2:22 PM, Ted Gould <[email protected]>
> > > wrote:
> > > > Hello,
> > > > 
> > > > We need to understand which apps understand the Unity8
> > > > application lifecycle so that we don't try to manage apps that
> > > > aren't designed with an application lifecycle in mind. I've
> > > > gone ahead and proposed a PR just to get the name started,
> > > > though I imagine it'll have more features in the future as we
> > > > continue to develop it. It is the first step (with many more in
> > > > the future) in moving towards getting Snappy apps working with
> > > > Unity8.
> > > > 
> > > > https://github.com/snapcore/snapd/pull/1229
> > > > 
> > > > Ted
> > > > 
> > > > --
> > > > Snapcraft mailing list
> > > > [email protected]
> > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mai
> > > > lman/listinfo/snapcraft
> > > > 
> > > 
> > > 
> > > -- 
> > > gustavo @ http://niemeyer.net
> 
> 
> -- 
> gustavo @ http://niemeyer.net

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to