Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Pasting with Ctrl+V does not override selected text, instead pastes at end of prompt (Regression in 1.2.3) #2423

Open
MrSimonC opened this issue Oct 4, 2024 · 0 comments · May be fixed by #2425
Assignees
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@MrSimonC
Copy link
Contributor

MrSimonC commented Oct 4, 2024

How are you running AnythingLLM?

Docker (local)

What happened?

When using the Docker version 1.2.3 of Anything LLM, I am experiencing an issue with pasting text using Ctrl+V. If I select some text to correct halfway through my prompt and then attempt to paste using Ctrl+V, the selected text is not overridden and replaced. Instead, the selected text is unselected and the pasted text is inserted at the end of the prompt.

Regression:

This behavior worked as expected in version 1.2.2, where the selected text was correctly overridden and replaced with the pasted text. This issue appears to be a regression introduced in version 1.2.3.

Related pull request:

This issue appears to be related to changes made in pull request #2386.

Environment:

  • Anything LLM version: 1.2.3 (Docker)
  • Operating System: Windows 10 / WSL2 docker
  • Browser: MS Edge

Reproduction frequency:

100% of the time

Please let me know if you need any further information to reproduce and fix this regression!

image

image

Are there known steps to reproduce?

Steps to reproduce:

  1. Run Anything LLM using Docker version 1.2.3
  2. Enter a prompt and select some text to correct halfway through
  3. Copy some text to paste
  4. Press Ctrl+V to paste the text

Expected behavior:

The selected text should be overridden and replaced with the pasted text.

Actual behavior:

The selected text is unselected and the pasted text is inserted at the end of the prompt.

@MrSimonC MrSimonC added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Oct 4, 2024
@shatfield4 shatfield4 self-assigned this Oct 4, 2024
@shatfield4 shatfield4 linked a pull request Oct 4, 2024 that will close this issue
10 tasks
@shatfield4 shatfield4 linked a pull request Oct 4, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants