Skip to content

Cannot paste into terminal #83595

Closed
Closed

Description

Testing #83296

On Windows+FF

  1. Open the terminal and select some text with the mouse
  2. Right-click to copy
  3. Right-click to paste

🐛 Text is not pasted

This may be the fault of the clipboard service (my doing), but can you check your handler first and assign back if the service doing something wrong?

Activity

  1. sbatten commented on Oct 29, 2019

    @sbatten
    MemberAuthor

    it's the clipboard service

  2. added
    bug
    firefox
    web
    windows
    editor-clipboard
    on Oct 29, 2019
  3. Tyriar commented on Oct 30, 2019

    @Tyriar
    Contributor

    Was there a permissions dialog that popped up? Did it work with regular pasting?

  4. sr229 commented on Oct 30, 2019

    @sr229

    Daniel Imms (@Tyriar) We've triaged it that Chrome and Firefox blocks the Clipboard API if its not localhost or .local, so I don't think VSCode would catch that.

  5. rebornix commented on Nov 6, 2019

    @rebornix
    Contributor

    paste/clipboard is only accessible from browser extensions in FF. To enable pasting, we need

    • Do not register Paste command for cmd/ctrl+v in FF
    • Thus do not register the command to Context Menu

    Daniel Imms (@Tyriar) I can send you a PR to get above commands registration removed from isWeb && isFirefox. Xterm listens to paste on the textarea, once the keybindings are removed, users can at least paste.

  6. Tyriar commented on Nov 6, 2019

    @Tyriar
    Contributor

    Sure just removing the keybindings for firefox sounds good to me, those keybindings where only added very recently.

  7. changed the title [-]Cannot right-click paste into terminal[/-] [+]Cannot paste into terminal[/+] on Nov 6, 2019
  8. added
    safari
    verification-needed
    and removed
    windows
    on Nov 7, 2019
  9. rebornix commented on Nov 7, 2019

    @rebornix
    Contributor

    Verifier, please test both Safari and Firefox.

  10. locked and limited conversation to collaborators on Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-clipboardfirefoxsafariverification-neededverifiedweb

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions