Skip to content

fix(launcher): -Status reports a capture host owned by another browser - #78

Merged
wolfgang-aura merged 1 commit into
mainfrom
fix/status-foreign-host
Oct 7, 2026
Merged

wolfgang-aura merged 1 commit into
mainfrom
fix/status-foreign-host

Conversation

@wolfgang-aura

Copy link
Copy Markdown
Owner

Fixes #77.

-Status now traces each running native host to the browser that spawned it. A host from a browser other than the managed one is listed, and -Status exits 3 when that browser lacks --disable-features=CalculateNativeWinOcclusion. Orphan cleanup in -Restart uses the same ancestry walk.

Live on the owner workstation:

  host pid 22228 belongs to C:\Program Files (x86)\Microsoft�dge\Application\msedge.exe pid 30900 (without --disable-features=CalculateNativeWinOcclusion)
WARNING: SourceCapsule is also loaded in another browser. ...
exit: 3

Test: test/native-host.test.mjs adds a Windows-only check with a renamed signed node.exe standing in for Edge (Smart App Control blocks an unsigned stand-in). It fails on main and passes here. CI is Ubuntu, so it runs locally only, like the other launcher checks.

🤖 Generated with Claude Code

-Status looked only at the managed browser. With Edge's startup boost
running the extension windowless from sign-in, Edge's host owned the
capture pipe, captures ran without the occlusion flag, and -Status
blamed a Brave that lacked the extension. It now traces every host to
the browser that spawned it, lists foreign ones, and exits 3 when that
browser lacks --disable-features=CalculateNativeWinOcclusion.

Fixes #77

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wolfgang-aura
wolfgang-aura merged commit c85511f into main Oct 7, 2026
1 check 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.

Launcher -Status misses a capture host owned by another browser (Edge startup boost)

1 participant