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

Copying from Copilot Chat's response fails to copy while Copilot is still adding text, even offscreen #2058

Closed
vintagedave opened this issue Oct 27, 2024 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@vintagedave
Copy link

vintagedave commented Oct 27, 2024

  • Copilot Chat Extension Version: 0.21 (2024-10-02)
  • VS Code Version:
    Version: 1.94.2
    Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
    Date: 2024-10-09T16:08:44.566Z (2 wks ago)
  • OS Version: macOS Sonoma 14.4.1
  • Logs: (attached.)GitHub Copilot.log
    GitHub Copilot Chat.log

Steps to Reproduce:

  1. Using VSCode on macOS, write a query where Copilot will write a lot of text in answer. I find a 'what's wrong in this code' one does the trick because it will then repeat the entire file to you, especially if it helped you build it (which is probably worth a separate bug report, it makes finding what it changed very difficult.)
  2. While it's still adding content hover over a code sample. Select using the mouse, press Cmd+C, toggle to the code editor, Cmd+V.
    Expected: what you selected is pasted
    Observed: whatever was in the clipboard already is pasted

I have seen the Copy button hovering over a code snippet fail too with the same symptoms as above.

Related is that the set of buttons that appear while hovering over a code snippet flicker a lot while it's adding text. I get the feeling that rather than appending text, it's rewriting the entire HTML or something for every token. I don't know, but it's a suspicion.

My expected behaviour is that anything onscreen should be copyable, especially if I scroll upwards and I can't even see that Copilot is still adding content.

Thankyou :)

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 27, 2024
@vs-code-engineering vs-code-engineering bot removed the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 27, 2024
@aeschli aeschli assigned roblourens and unassigned aeschli Oct 28, 2024
@roblourens
Copy link
Member

microsoft/vscode#208191

@roblourens roblourens added the duplicate This issue or pull request already exists label Oct 28, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants