Hi everyone, below you will find the updates from the Desktop team from the last week.
If you’re interested in discussing a topic please start a thread in the Desktop area of Discourse.
We also have our weekly meeting on IRC. We meet on Tuesday at 13:30 UTC in #ubuntu-desktop on Freenode. There will be an “Any Other Business” section at the end where you are welcome to raise topics. These topics might be discussed during the meeting, or afterwards depending on the time, depth of conversation, topic and so on.
Last week’s notes are here: Desktop Team Update - Monday 26th August 2019
Next week’s notes are here: Desktop Team Update - Monday 9th September 2019
Gnome Shell performance (stutter | latency | CPU):
- gnome-shell spiked a little this week, of which 40% is randomness and 60% is the introduction of 3.33 in eoan.
I was attending the GUADEC BOF days and flying home for most of last week. Here are a few of the relevant outcomes from that:
- The Flatpak folks would like to migrate the
o.f.p.Flatpak.Spawn portal to
xdg-desktop-portal and have it support both Flatpak and Snap confinement. This is an API intended to let confined apps more strictly confine subprocesses. The reason for a special portal API for this is that the system calls needed to implement privilege separation/confinement are generally blocked by confinement systems. I’ve brought this up with Zygmunt, and it looks like it would be non-trivial to support at present. Further investigation is needed.
- At the GTK BOF and afterwards, I worked on glib MR !1067, which would let
g_app_info_launch_uri() automatically register files with the document portal when launching snap apps. I want to get some xdg-desktop-portal improvements merged before pushing to get it merged though: namely not proxying files the snap should already have access to.
- There was some discussion about improving snapd support in xdg-desktop-portal. We need this to properly support the notifications portal API, but it would also make the snap support functional on distros not supporting AppArmor confinement. I started a forum thread outlining exactly what I think needs to change on the snapd side to support the portal service changes.
snapd session agent support:
- I received another review on PR #7197 during GUADEC. There were some data races showing up in the test suite. These turned out to be in the tests rather than the underlying code, so I’ve fixed those issues.
PR #7238 (adding systemd control API to session agent) still needs some work. There was a question of whether the “fallback to kill if stop times out” code is actually needed, or if systemd does this itself automatically. I’d copied this logic from the handling of system services, but if it isn’t needed that would simplify things.
- I’m still working on the session agent client PR. I hope to have it up for review shortly.
snapd icon theme support:
- Now that snapd 2.41 is out, I hope to see this PR merged. It is waiting on a final review from Zygmunt, so hopefully it will be merged this week.