fix(windows): honor selected window in native capture#421
fix(windows): honor selected window in native capture#421crbender wants to merge 1 commit intowebadderallorg:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR fixes a bug where selecting a window source on Windows would record the full display instead of the specific window. Windows native start handler now parses ChangesWindows Window-vs-Display Recording Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Heads up that this routing fix on its own is necessary but not sufficient. While testing the same change against a locally patched build, I hit two further bugs in the WGC helper that only surface once
Both fixes are small (a few lines in |
|
Quick triage pass: this is a useful narrow fix for the normal If the selected source starts with There is also overlap with #422, which covers that invalid-window guard and adds native helper fixes for odd initial window dimensions. I would treat this PR as superseded or update it with the same guard before another review pass. |
Description
Fixes Windows native capture so selecting a
window:*source records that window instead of falling back to full-display capture.Motivation
The native WGC helper supports window capture via
windowHandle, but the Windows start path was always building display-target config. This caused selected window sources to record the monitor.Type of Change
Related Issue(s)
Closes #420
Testing Guide
window:*source and start recording.screen:*source and confirm full-display capture still works.Checklist
Summary by CodeRabbit