Skip to content

Copy/Paste does not work from the context menu when active element is input/textArea #99126

Closed
@kittaakos

Description

Copy-paste does not work using the context-menu only if the focused element is either an input or a textArea.

  • VSCode Version: 1.45.1 5763d90
  • OS Version: macOS 10.15.4 (19E287)

Steps to Reproduce:

  1. Open the Search view. (Ctrl/Cmd+Shift+F)
  2. Type vscode.
  3. Right click in the input, select Copy from the context menu.
  4. Right click in the input, select Paste. Nothing happens. It should insert vscode so that the input shows vscodevscode.

Notes:

  • The copy action works as expected because I could paste with the copied content with the keybinding.
  • It is important to select the Search view, as the Source Control view wraps a monaco editor and not an input or textArea.

screencast 2020-06-02 17-32-46

Difference between the context menus:
Monaco editor based context menu (SCM, for example):
Screen Shot 2020-06-02 at 17 39 59

input/textArea-based context menu (Search view, for instance):
Screen Shot 2020-06-02 at 17 40 10


Related: #52948?

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions