Skip to content

Fix Windows window capture and release 0.16.1 - #62

Merged
mskutin merged 2 commits into
mainfrom
codex/fix-window-capture-com
Oct 19, 2026
Merged

mskutin merged 2 commits into
mainfrom
codex/fix-window-capture-com

Conversation

@mskutin

@mskutin mskutin commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Windows selected-window capture can fail with RPC_E_CHANGED_MODE (0x80010106) after audio discovery initializes the lighting thread as STA. Retrying repeats the failure, and the old error message incorrectly suggests an unsupported Windows version.

Initialize every Windows lighting worker as MTA before engine startup and retain that initialization across audio/capture sessions. Capture sessions use balanced, thread-bound initialization guards. Remove the unconditional OS-version warning.

Prepare desktop and CLI version 0.16.1 and focused release notes so a successful main build publishes the fix and offers it through the updater.

Validation:

  • New worker regression failed before the fix and passed afterward.
  • All 100 ordinary native tests passed; strict Clippy and rustfmt passed.
  • Interactive Windows fixture passed audio-device discovery, repeated capture starts/stops, resize, and closure. Only its generated window was captured; no USB or audio recording was used.
  • All 24 release, publishing, and installer tests passed after the version bump.

Merge only after all checks pass on the final versioned commit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T15:02:16.630351Z d945579 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mskutin mskutin changed the title Fix Windows window capture after audio initialization Fix Windows window capture and release 0.16.1 Oct 19, 2026
@mskutin
mskutin merged commit fc53ae3 into main Oct 19, 2026
9 checks passed
@mskutin
mskutin deleted the codex/fix-window-capture-com branch October 19, 2026 15:17
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