Private bus: don't take over the session's document portal mount
CI / test (push) Canceled after 24m10s

A nested compositor's private D-Bus kept the session's XDG_RUNTIME_DIR, so
an xdg-document-portal activated on it mounted over $XDG_RUNTIME_DIR/doc and
removed the mount when the bus exited. The session's portal kept running
without it, and flatpak apps stopped starting.

The bus now has its own config that starts the document portal with a runtime
directory per compositor. scripts/test-private-bus.sh covers it. The KDE
colors test gets its own runtime directory for the same reason.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-25 22:06:51 -08:00
1 parent 50149e6b99
commit 70b24ffe47
5 files changed
+182 -4

No files matched your search

+1
View File
@@ -53,4 +53,5 @@ fi
XDG_CONFIG_HOME="$(mktemp -d)" CHANDRA_TEST_CONFIG=1 \
moon test --target native --warn-list -a compositor/renderer compositor/gfx compositor/wasm \
compositor/network compositor/portal compositor/polkit compositor/x11 compositor/host
scripts/test-private-bus.sh
moon build --target native --warn-list -a compositor/bin