mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 07:46:16 -05:00
[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
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhizinan1997 on GitHub (Jun 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14920
Check Existing Issues
Installation Method
DOCKER
Open WebUI Version
0.6.14
Ollama Version (if applicable)
No response
Operating System
macOS
Browser (if applicable)
No response
Confirmation
README.md.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
Additional Information
No response
@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.
@tjbck commented on GitHub (Jun 12, 2025):
Unable to reproduce from our end with pinyin.