openclaw - 💡(How to fix) Fix [Bug]: macOS app: approval notification dialog disappears too quickly to interact with (2026.4.1) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59993Fetched 2026-04-08 02:37:50
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×1labeled ×1

On macOS app version 2026.4.1 (2026040190), when the gateway blocks an exec command and shows an approval notification, the notification dialog appears but disappears almost instantly — too fast for the user to click Allow/Deny.

This makes it impossible to approve or deny exec commands through the mac app UI.

Root Cause

  1. Trigger any exec command that requires gateway approval (e.g. openclaw config list)
  2. Observe that no visible approval dialog stays on screen
  3. The command is automatically denied because the approval times out

Code Example

Exec denied (gateway id=xxxx, user-denied): <command>

---
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

On macOS app version 2026.4.1 (2026040190), when the gateway blocks an exec command and shows an approval notification, the notification dialog appears but disappears almost instantly — too fast for the user to click Allow/Deny.

This makes it impossible to approve or deny exec commands through the mac app UI.

Steps to reproduce

  1. Trigger any exec command that requires gateway approval (e.g. openclaw config list)
  2. Observe that no visible approval dialog stays on screen
  3. The command is automatically denied because the approval times out

Expected behavior

The approval dialog should remain visible until the user explicitly clicks Allow or Deny (or it times out on its own).

Actual behavior

Actual Behavior:

The approval notification dialog appears but immediately disappears within ~1 second — so fast that no human can read it, let alone click a button. The command is automatically denied with "user-denied" without the user being able to interact with it.

From the agent's perspective:

Exec denied (gateway id=xxxx, user-denied): <command>

The user never sees the dialog long enough to approve or deny.

OpenClaw version

2026.4.1

Operating system

  • macOS app: 2026.4.1 (2026040190) - macOS: Darwin 25.4.0 (arm64) - openclaw gateway running locally - Node: v22.21.1

Install method

npm

Model

minimax

Provider / routing chain

User (macOS app 2026.4.1, HUAWEI MateBook 14) ↓ webchat / openclaw-control-ui OpenClaw Gateway (local, port 18789) ↓ exec commands requiring approval Gateway security policy → approval notification → macOS notification center

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

  • This is a personal workstation used for development
  • The same session running via openclaw-control-ui also cannot approve commands
  • All exec commands are being denied without any user interaction possible

extent analysis

TL;DR

The approval dialog's instant disappearance may be due to a timing or synchronization issue, and a potential fix could involve adjusting the dialog's display duration or the approval timeout.

Guidance

  • Investigate the approval dialog's implementation to see if there's a timer or a synchronization mechanism that's causing it to disappear instantly.
  • Check the gateway's security policy and approval notification settings to ensure that they are not contributing to the issue.
  • Consider adding a delay or a manual override to the approval dialog to allow users to interact with it before it times out.
  • Review the logs and evidence to see if there are any error messages or clues that could help identify the root cause of the issue.

Example

No specific code snippet can be provided without more information about the implementation, but an example of how to add a delay to a dialog might look like this:

// Pseudocode example, actual implementation may vary
approvalDialog.show();
setTimeout(() => {
  // Dialog will stay open for at least 5 seconds
}, 5000);

Notes

The issue may be specific to the macOS app version or the OpenClaw Gateway configuration, and further investigation is needed to determine the root cause.

Recommendation

Apply a workaround, such as adding a delay to the approval dialog or adjusting the approval timeout, to allow users to interact with the dialog before it disappears.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The approval dialog should remain visible until the user explicitly clicks Allow or Deny (or it times out on its own).

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING