From be2dd7a95c522d952800f810f6c39e0a2f2e008f Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sat, 21 Nov 2026 16:54:30 -0800 Subject: [PATCH 1/2] chore(quest): claim quest/m0/wayland-picker-check.md Quest-Claim: c9aec4e90dfdc3eb From 6f6aa2c2167f7cf38944ea7ca52f66063daeabf7 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sat, 21 Nov 2026 16:54:39 -0800 Subject: [PATCH 2/2] quest: picked displays and windows restore on GNOME The maintainer ran the check on a GNOME Wayland session: both sources reopen across restarts without the portal's picker. Co-Authored-By: Claude Opus 5.5 --- quest/m0/wayland-picker-check.md | 36 -------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 quest/m0/wayland-picker-check.md diff --git a/quest/m0/wayland-picker-check.md b/quest/m0/wayland-picker-check.md deleted file mode 100644 index a9cb60b8..00000000 --- a/quest/m0/wayland-picker-check.md +++ /dev/null @@ -1,36 +0,0 @@ -# [XS] Picked displays and windows are tried on a Wayland desktop - -## Goal - -The maintainer confirms on a real Wayland desktop that a `picked_display` and a -`picked_window` source show the desktop's screen-sharing picker once, show the -chosen screen or window, and reopen without the picker after the studio -restarts. If they don't, the quest is rewritten to say what failed. - -## Plan - -Build with `--features capture,pipewire`. On GNOME or KDE, both of which keep -grants, add **Picked display** and **Picked window** from the Devices panel, -choose a screen for one and a window for the other, quit, and start again. -Neither picker may show the second time, both sources show what was chosen, -and `$XDG_STATE_HOME/moq-studio/portal.toml` (`~/.local/state` when -`XDG_STATE_HOME` is unset) holds one grant for each under the scene file. -Then stop sharing each from the desktop's own indicator: the source fails, its -grant is gone from the file, and restarting the source shows the picker again. - -An agent exercised the picker through xdg-desktop-portal-wlr with a scripted -chooser (moq-dev/studio#172), but no compositor it can run headless returns -restore tokens: wlr 0.8.5 has none, and Hyprland 0.57 cannot nest under -headless sway or weston. So the restore across restarts needs a person on a -desktop that keeps grants. - -## Hosts - -- linux - needs a Wayland desktop with xdg-desktop-portal - -## Waiting - -- Maintainer: run the check in Plan on a GNOME or KDE session, since only a - person can click the portal's picker and no headless backend restores - grants (automation tried: wlr, Hyprland). Done when the second start shows - no picker.