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 the Community Hub (this site).
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 weeks notes are here: Monday 7th January 2019 🎆 🍾 🥳
Next week is here: https://community.ubuntu.com/t/monday-21st-january-2019/9434
Gnome Shell performance (stutter | latency | CPU):
- Revised, retested and fixed conflicts in existing merge requests (most of which are performance but not all):
- Testing and investigation:
Nvidia Wayland support:
egl-wayland has finally landed in disco universe. So next we need to:
- Promote it to main.
mutter with a dependency on it and enabled the EGLStreams build option.
- Rebuild Xorg with a dependency on it to enable accelerated X client support via Xwayland.
snapd xdg-desktop-portal testing
- I got PR #6316 to a state where it is reliably passing in CI, so have asked for a review.
- The PR covers the following APIs:
- FileChooser (open and save files, verifying access through the document portal)
- OpenURI (both opening local files in associated applications, and URLs in browser)
- Screenshot (take screenshot, deliver payload via document portal)
- All tests are using the real xdg-desktop-portal and xdg-document-portal with a custom UI service to allow to run headless.
GLib support for OpenURI.OpenFile portal API:
- Last year while working on portals, I discovered a problem in the way it was using file descriptor passing to prove access to files: it required O_PATH descriptors, but you can easily create such descriptors for inaccessible files. A fix was made on the xdg-desktop-portal side with a compatibility carve out for flatpak.
- Ken discovered that opening local files from snap apps, which led me to find that the corresponding GLib side change hadn’t been made.
- Submitted MR !585 to handle this, which fixed the problem for the portal-test snap.
Inhibit portal API:
- The inhibit feature doesn’t seem to work from portal-test. I’ve been investigating, but haven’t tracked down the exact cause yet. The code in GTK seems to contact the portal API only after a failure to contact org.gnome.SessionManager. I suspect it is hitting some other error condition that causes it to skip the portal fallback.