Skip to content

macOS Slack appshot fails with noWindowsAvailable despite visible window #36241

Closed

Description

@kxzk

What version of the Codex App are you using (From “About Codex” dialog)?

ChatGPT/Codex Desktop 26.727.40816 (build 6067)

Computer Use helper: 26.727.1000550 (build 1000550)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm
macOS 26.5.2 (25F84)

Target app: Slack 4.51.180 (build 451000180), bundle identifier com.tinyspeck.slackmacgap.

What issue are you seeing?

Appshots consistently fail when Slack is the frontmost target. The Double Command hotkey is registered and received, and Codex correctly identifies Slack, but the native Computer Use capture bridge fails immediately with:

Codex Computer Use Apple Event error -10005: noWindowsAvailable
failureReason=start_request_failed:computer_use:-10005
hadAxText=false
hadScreenshot=false
status=failed

This does not appear to be a general Appshot or macOS permission failure:

  • Appshots through the same capture pipeline have succeeded for Chrome, Notion, and Linear.
  • CoreGraphics currently lists Slack as an on-screen layer-0 window with kCGWindowSharingState: 1.
  • Codex identifies Slack as the frontmost target before the Computer Use helper rejects the capture.
  • The failure has repeated across full ChatGPT/Codex app restarts.

Sanitized desktop log sequence:

Appshot hotkey pressed hotkey=DoubleCommand
Appshot shortcut found target bundleIdentifier=com.tinyspeck.slackmacgap name=Slack
Appshot capture request created bundleIdentifier=com.tinyspeck.slackmacgap name=Slack source=hotkey
Appshot capture start request sent bundleIdentifier=com.tinyspeck.slackmacgap name=Slack source=hotkey
Codex Computer Use capture worker failed errorMessage="Codex Computer Use Apple Event error -10005: noWindowsAvailable" failureReason=start_request_failed:computer_use:-10005
Appshot capture settled failureReason=start_request_failed:computer_use:-10005 hadAxText=false hadScreenshot=false status=failed

Raw logs are not attached because they can contain private application context.

What steps can reproduce the bug?

  1. Open ChatGPT/Codex Desktop and an active Codex thread.
  2. Bring a normal, visible Slack window to the front.
  3. Press both Command keys to invoke Appshot.
  4. Observe that Codex identifies Slack, pauses briefly, and fails to attach the Appshot.
  5. Inspect ~/Library/Logs/com.openai.codex/; the capture start fails with -10005: noWindowsAvailable before producing screenshot or Accessibility content.

The failure reproduced repeatedly on July 23, July 27, and July 29, 2026.

What is the expected behavior?

Codex should capture the visible frontmost Slack window and attach its screenshot and Accessibility context, as it does for other supported applications. If the window cannot be captured, the helper should report why its window filter rejected a CoreGraphics-visible, shareable window.

Additional information

This looks like a Slack/Electron window-selection compatibility regression in the Appshot / Computer Use bridge rather than a system-wide capture failure.

Related but distinct reports:

The last locally recorded successful Slack Appshot preceded the current failure period; other application targets continued to succeed afterward.

Activity

  1. added
    bug
    app
    on Jul 30, 2026
  2. Anionix commented on Aug 31, 2026

    @Anionix

    Additional Chrome observation on desktop build 7377

    Adding diagnostic evidence from a newer build. The capture-start error matches this report, but the failing target here is Chrome rather than Slack; a shared root cause is not established.

    Environment

    • ChatGPT/Codex desktop: 26.825.51511 (build 7377), bundle identifier com.openai.codex.
    • Installed Computer Use helper: 26.828.1000919 (build 1000919).
    • macOS 27.0 (26A5416b), Darwin 27.0.0 arm64 arm.
    • Installed Chrome: 152.0.7977.64, bundle identifier com.google.Chrome.

    Versions were read from installed application metadata, not the About dialog. Failure stacks point to ChatGPT.app; the loaded helper version was not independently checked. Subscription was not recorded.

    Observed behavior and comparison

    During user-driven Appshot attempts on 2026-08-31, pressing both Command keys produced Unable to attach appshot. Desktop records between 15:47:00Z and 16:10:00Z contain:

    Target Settled captures Image and accessibility text
    Chrome 10 failures Both absent
    Finder, Calendar 2 successes each Both present
    Notes, Reminders, App Store, Brave, Safari 1 success each Both present
    Discord 2 successes Both present
    Visual Studio Code, Spotify, Notion, Preview, Terminal, UTM 1 success each Both present
    System Settings, Zed 1 success each Both present

    Appshot images and some accessibility data from all 16 successful applications also arrived in the conversation. Spotify and Zed provided minimal accessibility output; presence does not establish complete text capture. These counts describe this observation window, not a general failure rate.

    One failed request selected com.google.Chrome at 15:55:53.374Z, sent capture-start at .381Z, and failed at .549Z:

    Codex Computer Use Apple Event error -10005: noWindowsAvailable
    failureReason=start_request_failed:computer_use:-10005
    hadAxText=false
    hadScreenshot=false
    status=failed
    

    The user reports failures when trying both standalone Chrome and ChatGPT's embedded browser. All ten reviewed failed requests name Chrome, so a separate embedded-browser failure path is not independently established. Window visibility and permissions were not independently verified for each attempt.

    Separate follow-up: capturing Codex itself

    The user also reports an error when trying to capture the Codex app itself. Between 16:20:39Z and 16:20:48Z, five hotkey attempts logged Appshot shortcut had no target, without creating a capture request. These records do not identify the target app, so their association with Codex itself is user-reported. This stops earlier than Chrome's capture-start failure; these five attempts are excluded from the table above. Whether self-capture is supported or intentionally excluded remains unverified.

    Expected: attach the frontmost window image and available text, as described in the Appshots documentation. The successful comparisons narrow the failure, but do not rule out a permission or window-selection problem. No permission reset or application restart was performed during this investigation. Raw logs and attachments are omitted to protect private content.

    Could you advise whether this belongs to the same window-selection issue or should be tracked separately? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugcomputer-use

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions