From 6d5263983de7a30a0f4094c634323ed351f8e85c Mon Sep 17 00:00:00 2001 From: Luke Curley <432854+kixelated@users.noreply.github.com> Date: Tue, 10 Nov 2026 09:00:06 -0800 Subject: [PATCH] quest: the capture listing places each window on its display Co-Authored-By: Claude Opus 5.5 --- quest/m3/README.md | 2 +- quest/m3/capture-list.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/quest/m3/README.md b/quest/m3/README.md index 7d5e3b806a6..0583ac78952 100644 --- a/quest/m3/README.md +++ b/quest/m3/README.md @@ -181,7 +181,7 @@ federation) land. - [A published capture exposes its bandwidth grant](/quest/m3/video-publish-grant.md) - a moq-video publish shows each track's granted bitrate, not only its target - [The test relay can enable stats](/quest/m3/relay-test-stats.md) - `moq_relay::test_relay` starts with stats on when asked - [macOS capture listing futures are Send](/quest/m3/capture-shareable-send.md) - ScreenCaptureKit listing and start no longer hold a non-Send block across an await -- [A capture listing a picker can draw](/quest/m3/capture-list.md) - windows grouped by app with icons, camera kinds, low-rate pictures, and a wait for changes on macOS, Windows, and X11, for moq-dev/studio's Add page +- [A capture listing a picker can draw](/quest/m3/capture-list.md) - windows grouped by app with icons and placed on their displays, camera kinds, low-rate pictures, and a wait for changes on macOS, Windows, and X11, for moq-dev/studio's Add page - [Denied macOS system audio names its settings pane](/quest/m3/audio-system-denied-hint.md) - a permission error pointing at Screen & System Audio Recording - [One encoder follows several connections' estimates](/quest/m3/bandwidth-multi-connection.md) - a track published to two relays tracks both estimates - [Bandwidth reservations ignore in-process readers](/quest/m3/reservation-local-readers.md) - a local recorder no longer counts as uplink demand diff --git a/quest/m3/capture-list.md b/quest/m3/capture-list.md index 4d5fd866e40..cdae2532c54 100644 --- a/quest/m3/capture-list.md +++ b/quest/m3/capture-list.md @@ -8,6 +8,8 @@ show pictures instead of names, on macOS, Windows, and X11: - **Apps:** every listed window names its app by an identity that is the same after the app restarts, and apps are listed with that identity, a name, and their icon as pixels. +- **Placement:** every listed window says which listed display it is on and + its rectangle there, in that display's pixels. - **Cameras:** each says what kind of device it is (built in, webcam, capture card, phone, virtual) where the system says, and says nothing where it does not. @@ -49,6 +51,15 @@ with the API. Settled in the interview: +- Window placement joins the listing (2026-11-10, maintainer, /quest-complete + follow-up of [moq-dev/moq#8422](https://github.com/moq-dev/moq/pull/8422)): + ✅ plan it (rejected: a full-screen flag, keeping an excluded app's sound + out of system audio capture). The studio's privacy shield draws a lock + where an excluded window was, and its camera that keeps out of the way + avoids the foreground window; both need a window's position on its + display. Full screen follows from a window's rectangle against its + display's, so it gets no field of its own. + - Identity and icons cover every desktop, not macOS alone. - A supported path per desktop is decided at setup, with an error otherwise and never a silent fallback. @@ -101,6 +112,11 @@ as given: may refuse; listing alone opens no device. Measure what one picture stream costs per item at its default rate on each desktop, and state it on the API. +- **Placement.** A window moving or resizing is a change like a retitle, so + the watch's list stays current; coalesce a drag so it does not wake the + caller per frame. X11 has `ConfigureNotify`, Windows `EVENT_OBJECT_LOCATIONCHANGE`, + and macOS reports bounds in each listing, with the same caveat as the + Waiting item for events. - **Changes.** X11 has `PropertyNotify` on the root's client list and each window's title, and RandR for monitors, which `capture/x11.rs` already selects. Cameras have udev and PipeWire's registry on Linux, device