Screenshot monitor selection QA
Date: 2026-11-04. Private nested run 0d2504f3, base commit 63e1c16 plus the uncommitted screenshot changes of codex/screenshot-multi-output. Approximately five minutes of interaction after the release build. No provider, personal profile, video or media upload. Run stopped; final status active: false.
Scope and result
The screenshot flows passed on two logical 924x984 outputs at scale 1. This charter explicitly covers desktop compositor surfaces at the actual nested sizes, not mobile/tablet responsive behavior. No stable automation or full product coverage claim.
| Scenario | Observed result |
|---|---|
| Print on NESTED-1 | Protected panel at (0,0), 924x984; original-resolution option visible on Canvas. Escape dismissed without saving. |
| Print on NESTED-2 | New protected panel at (924,0), 924x984; original-resolution option absent. Primary output remained outside the panel. |
| Tela on NESTED-2, Ctrl+C | Completed RGB PNG 924x984 with the secondary application's content; capture UI and pointer absent. |
| Região on NESTED-2 | Drag from global (1024,250) to (1324,450), saved RGB PNG 300x200; pixel (10,10) was the synthetic application's RGB (19,87,64). |
| Janela on NESTED-2 | Clicking the visible application of workspace 2 saved its complete 960x600 RGBA content rather than the primary workspace. |
| Alt+Print on NESTED-2 | Saved the focused application of workspace 2, 960x600 RGBA. Focus styling differs from the panel capture; no byte-identity claim. |
| Shift+Print on NESTED-2 | Two completed 924x984 RGB screenshots of that output. Same-second naming correctly added a suffix without overwriting. |
| Return to NESTED-1 | Panel recreated on primary output (window id 18); Shift+Print saved primary wallpaper and bar at 924x984, distinct from the secondary application's screen. |
| Capture monitor stays pinned | Opened region UI on NESTED-2, selected 300x200, clicked primary wallpaper. State reported focusOutput NESTED-1 while panel id 22 remained NESTED-2. Clicking the panel's capture button saved exactly the same region pixels as before the focus change. |
| Escape on NESTED-2 | Panel hidden, saved file count unchanged at eight. |
| Temporary image | capture.ppm was absent after the final user screenshot. |
Application labels QA PRIMARY and QA SECONDARY are synthetic test text, not connector identifiers. Initial launches followed the nested pointer onto workspace 2; connector, workspace and panel geometry were checked through compositor state. Attempts to move a test application with Super+Shift+Left did not produce a confirmed output move; no window-movement assertion is made by this report.
Findings outside the capture flow
QA-001: desktop action menu reports a changed context
Severity: Medium. Reproduced twice in this run. On the primary output after dismissing capture, click top-bar Ações do desktop. Instead of actions the protected menu shows Contexto alterado. Feche e abra as ações novamente. Closing with Escape and reopening produced the same message. Capture keys and the capture panel remained functional. Root cause and whether this predates the branch were not established; no claim that the screenshot patch introduced it.
Evidence: actions-menu-before.png, actions-menu-retry.png.
QA-002: contextual capture labels still mention the primary monitor
Severity: Low. Source inspection of web-shell/core/context-actions.js found the labels Capturar região no monitor principal and Salvar captura do monitor principal. They have not been updated for focused-monitor capture. The broken contextual menu above prevented visual verification of those labels in this run. Record this as a source-confirmed copy gap, not a reproduced routing failure. No unrelated product code was changed during this QA.
Logs and limitations
No compositor panic, screenshot error or renderer crash was observed. The host log contains expected private-system-bus and AT-SPI service-unavailable messages: those services intentionally do not exist in this isolated environment.
Not exercised: physical monitors, DRM/libinput, hotplug, scales other than 1, lock/PAM, shared-view screenshot selection, actual image pasting into another application, original-resolution rendering below zoom 1, or the quick-settings capture button. Existing isolated tests remain separate evidence. The two-output nested run cannot prove physical GPU behavior or real-monitor hotplug.
Local evidence
Stable local directory outside Git: 2026-11-04-screenshot-multi-output in the user's Codex QA artifacts. No file was uploaded. Images contain only a synthetic nested profile and synthetic GTK clients and were inspected before delivery.
- primary-panel.png
- secondary-panel.png
- secondary-screen.png
- secondary-region-selection.png
- secondary-region.png
- secondary-window-ui.png
- secondary-alt-print.png
- secondary-shift-print.png
- secondary-shift-print-retry.png
- primary-shift-print.png
- secondary-pinned-region.png
- actions-menu-before.png
- actions-menu-retry.png
- observations.json (local metadata and synthetic-run logs)
The initial local save-result helper sorted filenames lexically and temporarily selected an earlier same-second file. Sorting by file modification time corrected the helper and the preserved evidence; this was not a product failure.