<html><head></head><body><div><br></div><div>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.</div><div><br></div><div>Is there anything else you'd like to see in the PR?</div><div><br></div><div>Ted</div><div><br></div><div>On Fri, 2016-05-27 at 16:06 -0300, Gustavo Niemeyer wrote:</div><blockquote type="cite"><div dir="ltr"><div><br></div><div>The interface you proposed didn't add any special abilities for the snap to listen to additional events from the system.</div><div><br></div><div>Isn't that about the unity8 interface itself?<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 2:48 PM, Ted Gould <span dir="ltr"><<a href="mailto:ted@ubuntu.com" target="_blank">ted@ubuntu.com</a>></span> wrote:<br><blockquote type="cite"><div><div><br></div><div>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.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ted</div></font></span><div><div class="h5"><div><br></div><div>On Fri, 2016-05-27 at 14:40 -0300, Gustavo Niemeyer wrote:</div><blockquote type="cite"><div dir="ltr"><div>Can we please go into more detail about what it means to support the application lifecycle?</div><div><br></div><div>Having an interface that does absolutely nothing feels somewhat awkward, which may hint that there are better designs for it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 2:22 PM, Ted Gould <span dir="ltr"><<a href="mailto:ted@ubuntu.com" target="_blank">ted@ubuntu.com</a>></span> wrote:<br><blockquote type="cite"><div><div>Hello,</div><div><br></div><div>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.</div><div><br></div><div><a href="https://github.com/snapcore/snapd/pull/1229" target="_blank">https://github.com/snapcore/snapd/pull/1229</a></div><span><font color="#888888"><div><br></div><div>Ted</div></font></span></div><br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com" target="_blank">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>
</blockquote></div></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div>
</blockquote></body></html>