Interface for Snappy Apps that understand Unity8 Application Lifecycle

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Fri May 27 19:46:44 UTC 2016


It should also be named "unity8" if that's what it is, and should also
contain every other aspect that a unity8 application will need to work.

Best place to start is the unity7 interface, and also a catch up jdstrand
online would certainly help raising points I'm missing.

On Fri, May 27, 2016 at 4:43 PM, Ted Gould <ted at ubuntu.com> wrote:

>
> 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 <ted at ubuntu.com> 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 <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
>
>
>
>
>
> --
> gustavo @ http://niemeyer.net
>
>


-- 
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160527/a52d43aa/attachment.html>


More information about the Snapcraft mailing list