[GH-ISSUE #17911] issue: Copying a text selection from the chat input box to clipboard copies the entire content of the text box #18434

Closed
opened 2026-04-20 00:39:08 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @rotemdan on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17911

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.32

Ollama Version (if applicable)

No response

Operating System

Windows 11 24H2

Browser (if applicable)

Brave 1.82.172 (Official Build) (64-bit) Chromium: 140.0.7339.207

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

Standard copy and paste for selection (via Ctrl-C or context menu "copy" action)

Actual Behavior

Selecting text and copying to clipboard copies all the content of the text box to the clipboard, not just the selection.

Steps to Reproduce

Selecting text on chat textbox:

Image

Then copying it to clipboard:
Image

Copies everything in the textbox, so when pasted:

Image

Logs & Screenshots

Included.

Additional Information

Also occurs in Firefox.
Rich text and predictive text modes disabled.


Also, added a follow-up update comment on #17839 (issue with blank lines during copy/paste) here , since there's now a different, but related issue with paste operations removing blank lines (instead of adding them). Didn't want to open a new issue just for that, but let me know if you prefer one.

Originally created by @rotemdan on GitHub (Sep 30, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17911 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.32 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 24H2 ### Browser (if applicable) Brave 1.82.172 (Official Build) (64-bit) Chromium: 140.0.7339.207 ### 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 Standard copy and paste for selection (via Ctrl-C or context menu "copy" action) ### Actual Behavior Selecting text and copying to clipboard copies all the content of the text box to the clipboard, not just the selection. ### Steps to Reproduce Selecting text on chat textbox: <img width="1186" height="272" alt="Image" src="https://github.com/user-attachments/assets/c6ab78cf-8199-4296-98bc-4af5b2601c55" /> Then copying it to clipboard: <img width="457" height="488" alt="Image" src="https://github.com/user-attachments/assets/6dfb3fd4-9632-4f21-a443-2eb777cbddd2" /> Copies everything in the textbox, so when pasted: <img width="208" height="94" alt="Image" src="https://github.com/user-attachments/assets/0236ecc5-2b33-4d86-8899-4a1803d280ca" /> ### Logs & Screenshots Included. ### Additional Information Also occurs in Firefox. Rich text and predictive text modes disabled. --- Also, added a follow-up update comment on #17839 (issue with blank lines during copy/paste) [here](https://github.com/open-webui/open-webui/issues/17839#issuecomment-3348463905) , since there's now a different, but related issue with paste operations removing blank lines (instead of adding them). Didn't want to open a new issue just for that, but let me know if you prefer one.
GiteaMirror added the bug label 2026-04-20 00:39:08 -05:00
Author
Owner

@tjbck commented on GitHub (Sep 30, 2025):

Should be addressed in dev, testing wanted here!

<!-- gh-comment-id:3349830900 --> @tjbck commented on GitHub (Sep 30, 2025): Should be addressed in dev, testing wanted here!
Author
Owner

@silentoplayz commented on GitHub (Oct 1, 2025):

Likely fixed, as I am not able to produce this issue.

<!-- gh-comment-id:3354217117 --> @silentoplayz commented on GitHub (Oct 1, 2025): Likely fixed, as I am not able to produce this issue.
Author
Owner

@silentoplayz commented on GitHub (Oct 3, 2025):

Closing this issue, but feel free to let us know if you still have any trouble!

<!-- gh-comment-id:3367512611 --> @silentoplayz commented on GitHub (Oct 3, 2025): Closing this issue, but feel free to let us know if you still have any trouble!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18434