openclaw - 💡(How to fix) Fix Control UI (webchat): image drag/drop and paste fails silently - images show preview but never sent to gateway [1 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#68851Fetched 2026-04-19 15:06:49
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Error Message

  1. No error shown in browser Console or Network tab
  2. No error shown in browser Console or Network tab

Bug Description Control UI webchat does not successfully send images to the gateway. When a user drags/drops or pastes an image into the chat input: 1. Image preview appears in the input box (thumbnail visible) 2. User sends the message 3. Image disappears from input 4. Agent receives no image - message arrives empty 5. No error shown in browser Console or Network tab ## Steps to Reproduce 1. Open Control UI at http://127.0.0.1:18789/chat?session=agent%3Amain%3Amain 2. Drag/drop a PNG/JPG image into the message input (or Ctrl+V paste) 3. Click send 4. Image thumbnail disappears, agent receives text-only message ## Expected Behavior Image should be uploaded to the gateway and delivered to the agent for vision analysis. ## Environment - OS: macOS (Darwin 25.4.0) - Browser: Chrome (also tested with Safari - same issue) - OpenClaw version: 2026.4.12 - Gateway: local mode, port 18789 ## Additional Context - Mobile channel (Feishu) image upload works correctly - Desktop browser drag/drop and paste both fail silently - Console shows no JavaScript errors - Network tab shows no outgoing image upload request

  1. No error shown in browser Console or Network tab

Fix Action

Fix / Workaround

Possible Cause

The webchat frontend's file upload handler (send.components-eErkUrSV.js) may have an issue where the FileReader completes successfully (generating the preview) but the resulting data is never actually dispatched to the gateway WebSocket connection.

Possible Cause

The webchat frontend's file upload handler (send.components-eErkUrSV.js) may have an issue where the FileReader completes successfully (generating the preview) but the resulting data is never actually dispatched to the gateway WebSocket connection.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Bug Description

Control UI webchat does not successfully send images to the gateway. When a user drags/drops or pastes an image into the chat input:

  1. Image preview appears in the input box (thumbnail visible)
  2. User sends the message
  3. Image disappears from input
  4. Agent receives no image - message arrives empty
  5. No error shown in browser Console or Network tab

Steps to Reproduce

  1. Open Control UI at http://127.0.0.1:18789/chat?session=agent%3Amain%3Amain
  2. Try to drag/drop a PNG/JPG image into the message input
  3. Or screenshot and Ctrl+V paste into the input
  4. Click send
  5. Image thumbnail disappears, agent receives text-only message

Expected Behavior

Image should be uploaded to the gateway and delivered to the agent for vision analysis.

Environment

  • OS: macOS (Darwin)
  • Browser: Chrome (also tested with Safari - same issue)
  • OpenClaw version: 2026.4.12
  • Gateway: local mode, port 18789
  • Deployment: localhost web UI

Additional Context

  • Mobile channel (Feishu) image upload works correctly
  • Desktop browser drag/drop and paste both fail the same way
  • Console shows no JavaScript errors
  • Network tab shows no outgoing request for the image upload
  • The image upload appears to be silently failing at the webchat frontend

Possible Cause

The webchat frontend's file upload handler (send.components-eErkUrSV.js) may have an issue where the FileReader completes successfully (generating the preview) but the resulting data is never actually dispatched to the gateway WebSocket connection.

Steps to reproduce

Bug Description

Control UI webchat does not successfully send images to the gateway. When a user drags/drops or pastes an image into the chat input:

  1. Image preview appears in the input box (thumbnail visible)
  2. User sends the message
  3. Image disappears from input
  4. Agent receives no image - message arrives empty
  5. No error shown in browser Console or Network tab

Steps to Reproduce

  1. Open Control UI at http://127.0.0.1:18789/chat?session=agent%3Amain%3Amain
  2. Try to drag/drop a PNG/JPG image into the message input
  3. Or screenshot and Ctrl+V paste into the input
  4. Click send
  5. Image thumbnail disappears, agent receives text-only message

Expected Behavior

Image should be uploaded to the gateway and delivered to the agent for vision analysis.

Environment

  • OS: macOS (Darwin)
  • Browser: Chrome (also tested with Safari - same issue)
  • OpenClaw version: 2026.4.12
  • Gateway: local mode, port 18789
  • Deployment: localhost web UI

Additional Context

  • Mobile channel (Feishu) image upload works correctly
  • Desktop browser drag/drop and paste both fail the same way
  • Console shows no JavaScript errors
  • Network tab shows no outgoing request for the image upload
  • The image upload appears to be silently failing at the webchat frontend

Possible Cause

The webchat frontend's file upload handler (send.components-eErkUrSV.js) may have an issue where the FileReader completes successfully (generating the preview) but the resulting data is never actually dispatched to the gateway WebSocket connection.

Expected behavior

yes

Actual behavior

NOT_ENOUGH_INFO

OpenClaw version

2026.4.12

Operating system

macos

Install method

mac

Model

minimax

Provider / routing chain

Bug Description Control UI webchat does not successfully send images to the gateway. When a user drags/drops or pastes an image into the chat input: 1. Image preview appears in the input box (thumbnail visible) 2. User sends the message 3. Image disappears from input 4. Agent receives no image - message arrives empty 5. No error shown in browser Console or Network tab ## Steps to Reproduce 1. Open Control UI at http://127.0.0.1:18789/chat?session=agent%3Amain%3Amain 2. Drag/drop a PNG/JPG image into the message input (or Ctrl+V paste) 3. Click send 4. Image thumbnail disappears, agent receives text-only message ## Expected Behavior Image should be uploaded to the gateway and delivered to the agent for vision analysis. ## Environment - OS: macOS (Darwin 25.4.0) - Browser: Chrome (also tested with Safari - same issue) - OpenClaw version: 2026.4.12 - Gateway: local mode, port 18789 ## Additional Context - Mobile channel (Feishu) image upload works correctly - Desktop browser drag/drop and paste both fail silently - Console shows no JavaScript errors - Network tab shows no outgoing image upload request

Additional provider/model setup details

Bug Description

Control UI webchat does not successfully send images to the gateway. When a user drags/drops or pastes an image into the chat input:

  1. Image preview appears in the input box (thumbnail visible)
  2. User sends the message
  3. Image disappears from input
  4. Agent receives no image - message arrives empty
  5. No error shown in browser Console or Network tab

Steps to Reproduce

  1. Open Control UI at http://127.0.0.1:18789/chat?session=agent%3Amain%3Amain
  2. Drag/drop a PNG/JPG image into the message input (or Ctrl+V paste)
  3. Click send
  4. Image thumbnail disappears, agent receives text-only message

Expected Behavior

Image should be uploaded to the gateway and delivered to the agent for vision analysis.

Environment

  • OS: macOS (Darwin 25.4.0)
  • Browser: Chrome (also tested with Safari - same issue)
  • OpenClaw version: 2026.4.12
  • Gateway: local mode, port 18789

Additional Context

  • Mobile channel (Feishu) image upload works correctly
  • Desktop browser drag/drop and paste both fail silently
  • Console shows no JavaScript errors
  • Network tab shows no outgoing image upload request

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue is likely due to the webchat frontend's file upload handler not dispatching the image data to the gateway WebSocket connection, and a potential fix involves modifying the send.components-eErkUrSV.js file to properly handle image uploads.

Guidance

  • Investigate the send.components-eErkUrSV.js file to ensure it correctly handles image uploads and dispatches the data to the gateway WebSocket connection.
  • Verify that the image upload handler is properly bound to the send button's click event and that the event handler is correctly triggered when the button is clicked.
  • Check the WebSocket connection to the gateway for any errors or issues that may be preventing the image data from being sent.
  • Consider adding error handling and logging to the image upload handler to provide more insight into the issue.

Example

No code example is provided as the issue is likely specific to the send.components-eErkUrSV.js file, which is not included in the provided information.

Notes

The issue may be specific to the desktop browser environment, as the mobile channel (Feishu) image upload works correctly. Additionally, the lack of JavaScript errors in the console and no outgoing image upload request in the Network tab suggests that the issue may be related to the webchat frontend's handling of image uploads.

Recommendation

Apply a workaround by modifying the send.components-eErkUrSV.js file to properly handle image uploads, as the root cause of the issue appears to be related to this file.

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

yes

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Control UI (webchat): image drag/drop and paste fails silently - images show preview but never sent to gateway [1 participants]