Skip to content

Issue fixed: issue 548 [Bug]: macOS: app with only an alwaysOnTop win… - #566

Closed
shivanikadirgamarajah wants to merge 2 commits into
vercel-labs:mainfrom
shivanikadirgamarajah:main
Closed

shivanikadirgamarajah wants to merge 2 commits into
vercel-labs:mainfrom
shivanikadirgamarajah:main

Conversation

@shivanikadirgamarajah

Copy link
Copy Markdown

…dow is reported as having no window

Summary

Fixes a macOS window detection issue where applications containing only an always-on-top window were incorrectly reported as having no windows.
The fix allows these windows to be discovered correctly.

Related issues

Closes #548

Type of change

  • feat: — new feature
  • fix: — bug fix
  • docs: — documentation only
  • refactor: — no behavior change
  • perf: — performance improvement
  • test: — adding or fixing tests
  • chore: — maintenance / dependencies
  • ci: — CI/CD changes
  • BREAKING CHANGE — incompatible ABI or CLI change

How tested

Manual verification :

Reproduced the issue using an Electron app with an always-on-top window.
Confirmed that list-windows --app Electron detects the window after the fix.
Confirmed that window-related commands no longer fail with WINDOW_NOT_FOUND.

  • cargo fmt --all -- --check
  • cargo clippy "${HOST_PKGS[@]}" --all-targets -- -D warnings
  • cargo test "${HOST_PKGS[@]}" --lib
  • cargo test -p agent-desktop
  • cargo test -p agent-desktop-ffi --tests
  • AGENT_DESKTOP_E2E_EXCLUSIVE=1 bash tests/e2e/run.sh (requires --release build + AX permission; run when behavior changes)

Checklist

  • PR title uses a conventional-commit prefix (type: description, lowercase, no capital after colon)
  • cargo fmt and cargo clippy -D warnings are clean
  • All tests pass
  • No unwrap() added in non-test code
  • No inline comments added (only /// doc-comments on public items)
  • All modified files are within the 400 LOC limit
  • Skill docs updated if a command, flag, or JSON output changed (skills/agent-desktop/ or the platform skill under skills/agent-desktop-macos/, skills/agent-desktop-windows/ or skills/agent-desktop-linux/)
  • README / other docs updated if the public interface changed

@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@shivanikadirgamarajah is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@lahfir

lahfir commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

closing as superseded by #702 on main (cg_window now lists on-screen layers 1..19). thanks @shivanikadirgamarajah

@lahfir lahfir closed this Nov 28, 2026
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.

[Bug]: macOS: app with only an alwaysOnTop window is reported as having no window

2 participants