Interface for Snappy Apps that understand Unity8 Application Lifecycle

Ted Gould ted at ubuntu.com
Fri May 27 17:48:16 UTC 2016


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 <ted at ubuntu.com> 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
> > Snapcraft at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/snapcraft
> > 
> 
> 
> -- 
> gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160527/4f1af3a6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160527/4f1af3a6/attachment.sig>


More information about the Snapcraft mailing list