[GH-ISSUE #14920] issue: Enter key bug: When using the Chinese input method, pressing Enter to input English directly sends the message instead of typing the English text into the input box. #17404

Closed
opened 2026-04-19 23:08:55 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @zhizinan1997 on GitHub (Jun 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14920

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

DOCKER

Open WebUI Version

0.6.14

Ollama Version (if applicable)

No response

Operating System

macOS

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When using the Chinese input method, pressing Enter to input English directly sends the message instead of typing the English text into the input box.

Actual Behavior

After adding OPENWEBUI to the macOS Dock, when I open it and use the Chinese input method to type in English, pressing Enter should insert the English text into the input box. However, currently, pressing Enter sends the entire message immediately. How can I fix this issue? Is it possible to use Ctrl+Enter to send the message, or have the Chinese input method's Enter key insert English characters instead of sending the message directly?

Steps to Reproduce

Install OPENWEBUI

Download and install OPENWEBUI following the official instructions from the project repository or website.
Ensure the latest stable version or the version you want to test is installed.
Add OPENWEBUI to Dock

Open the APPLICATIONS folder or wherever OPENWEBUI is installed.
Right-click (or Ctrl-click) the OPENWEBUI application icon.
Select Options > Keep in Dock to add the app to the Dock.
Configure Input Method

Open System Preferences > Keyboard > Input Sources.
Make sure Chinese - Simplified - Pinyin (or your preferred Chinese input method) is added and enabled.
Select this input method as active (use menu bar or shortcut like Ctrl + Space).
Steps to Reproduce the Bug
Launch OPENWEBUI from the Dock

Click the OPENWEBUI icon in the Dock to open the app.
Focus the TEXT INPUT box or CHAT box

Make sure your cursor is inside the message input box where you normally type messages.
Switch to Chinese Input Method

Confirm that the input method active is the Chinese input method (e.g., Pinyin).
You can toggle this by clicking the input method selector in the menu bar near the clock.
Type English text using the Chinese input method

Begin typing an English phrase or word using the Chinese input method.
For example, type hello.
Observe that the Chinese input method shows candidate words or raw English letters.
Press the ENTER key

Instead of the input method confirming input and inserting the English text into the input box,
The entire current message (whatever you have typed so far) is immediately sent as a chat/message.
There is no intermediate step inserting the English text first.

Logs & Screenshots

Image

Additional Information

No response

Originally created by @zhizinan1997 on GitHub (Jun 12, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14920 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method DOCKER ### Open WebUI Version 0.6.14 ### Ollama Version (if applicable) _No response_ ### Operating System macOS ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When using the Chinese input method, pressing Enter to input English directly sends the message instead of typing the English text into the input box. ### Actual Behavior After adding OPENWEBUI to the macOS Dock, when I open it and use the Chinese input method to type in English, pressing Enter should insert the English text into the input box. However, currently, pressing Enter sends the entire message immediately. How can I fix this issue? Is it possible to use Ctrl+Enter to send the message, or have the Chinese input method's Enter key insert English characters instead of sending the message directly? ### Steps to Reproduce Install OPENWEBUI Download and install OPENWEBUI following the official instructions from the project repository or website. Ensure the latest stable version or the version you want to test is installed. Add OPENWEBUI to Dock Open the APPLICATIONS folder or wherever OPENWEBUI is installed. Right-click (or Ctrl-click) the OPENWEBUI application icon. Select Options > Keep in Dock to add the app to the Dock. Configure Input Method Open System Preferences > Keyboard > Input Sources. Make sure Chinese - Simplified - Pinyin (or your preferred Chinese input method) is added and enabled. Select this input method as active (use menu bar or shortcut like Ctrl + Space). Steps to Reproduce the Bug Launch OPENWEBUI from the Dock Click the OPENWEBUI icon in the Dock to open the app. Focus the TEXT INPUT box or CHAT box Make sure your cursor is inside the message input box where you normally type messages. Switch to Chinese Input Method Confirm that the input method active is the Chinese input method (e.g., Pinyin). You can toggle this by clicking the input method selector in the menu bar near the clock. Type English text using the Chinese input method Begin typing an English phrase or word using the Chinese input method. For example, type hello. Observe that the Chinese input method shows candidate words or raw English letters. Press the ENTER key Instead of the input method confirming input and inserting the English text into the input box, The entire current message (whatever you have typed so far) is immediately sent as a chat/message. There is no intermediate step inserting the English text first. ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/8f5a6c89-0faa-43da-95a7-faedde57d6c2) ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 23:08:55 -05:00
Author
Owner

@zhizinan1997 commented on GitHub (Jun 12, 2025):

In the user settings, you can change the send shortcut to Ctrl+Enter instead of Enter. This can temporarily resolve the issue, but the compatibility problem between the Chinese input method and OPENWEBUI cannot be fundamentally fixed.

Image

<!-- gh-comment-id:2965687445 --> @zhizinan1997 commented on GitHub (Jun 12, 2025): In the user settings, you can change the send shortcut to Ctrl+Enter instead of Enter. This can temporarily resolve the issue, but the compatibility problem between the Chinese input method and OPENWEBUI cannot be fundamentally fixed. ![Image](https://github.com/user-attachments/assets/a9b0fca2-6170-4f6f-976f-d69de5bb79c1)
Author
Owner

@tjbck commented on GitHub (Jun 12, 2025):

Unable to reproduce from our end with pinyin.

<!-- gh-comment-id:2965714207 --> @tjbck commented on GitHub (Jun 12, 2025): Unable to reproduce from our end with pinyin.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17404