Skip to content

Match Capture tray styling and prevent transient paste interruptions - #48

Merged
timctho merged 2 commits into
mainfrom
fix/capture-menu-paste
Oct 6, 2026
Merged

timctho merged 2 commits into
mainfrom
fix/capture-menu-paste

Conversation

@timctho

@timctho timctho commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Windows Capture's tray menu used the standard square system menu while Desktop used a smooth rounded popup. Capture now matches Desktop's 18-DIP contour, surface, hover rows and typography, while retaining native accessible actions/toggles, keyboard navigation, checked preferences and dismissal on focus loss.

Ordered paste now briefly waits for the original editor to regain focus when attaching an image temporarily focuses its containing page. It also tolerates briefly held shortcut keys while ignoring busy paste invocations. The normal image/text timing remains unchanged; another editor/window or replacement clipboard still stops the sequence. It never selects a new destination or repeats an accepted image. Distinct stop reasons identify focus, keys or clipboard interruption.

Add native regressions for first-image focus loss, changing to another editor, a held Alt+A during an active paste, and popup pixels/accessibility/reopening. Electron acceptance now uses the production UIA input observation instead of only native window identity. Retain synthetic popup screenshots in the existing Windows acceptance artifact.

Validation: all required PR checks passed at b5c98a5097b46f107b1b0b00bf1016c6ae73fa96, including Capture and Desktop on Windows, Ubuntu and both Mac architectures. Windows acceptance verifies ordered image/context paste, transient focus recovery, a changed-editor stop, held busy shortcuts, silent repeat paste, popup pixels/keyboard/accessibility/reopening, and installer installation/startup/removal. Both popup screenshots were reviewed. The 19 managed capture contracts, documentation/links, CI scope and release-version checks also pass locally.

The specific Codex Desktop report remains unconfirmed without its full stop-message detail; the focus and shortcut cases above are verified with isolated native fixtures.

Bump the patch release to 0.3.1+15 so the accepted change produces updated installers for both products after merge.

@timctho
timctho marked this pull request as ready for review October 6, 2026 10:44
@timctho
timctho merged commit 619b962 into main Oct 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant